Skip to content

Commit

Permalink
Adding doc paragraph on pipelining
Browse files Browse the repository at this point in the history
  • Loading branch information
nibrunie committed Jan 18, 2017
1 parent 64355c1 commit fa19b3c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions metalibm_core/doc.dox
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,8 @@ Folding:
Dynamic attribute registration
By using the static method Attributes.add_dyn_attribute which take an object inheriting from AttributeCtor it is possible to add other attributes to every Operation node with user-defined configuration (default value, required, ...). By keeping an handle on the AttributeCtor object, the attribute may even be modified between new node creation.


Pipeline:
Auto pipelining uses several mechanism
CodeEntity registers 2 dynamic attributes, init_stage and init_op. Each time an operation is declared, it store the current values of init_stage into its own field.
init_stage is initialized to 0 and update by add_pipeline_stage function

0 comments on commit fa19b3c

Please sign in to comment.