You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the two compilers defined for the zoned neutral atom architecture are fixed at compile time because the components of the compiler, i.e., stages are given as template arguments. In terms of performance, this should be the preferred solution as it does not involve any lookup for pure virtual functions. For reference, see the following lines of code:
However, as pointed out in this conversation of #624 it might be desirable for the future to also have a compiler where it is possible to exchange components at runtime. This can easily be implemented by a new Compiler class that has each component as a member and slightly adapts the body of the compile function to call the respective methods on the members instead of on itself.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Right now the two compilers defined for the zoned neutral atom architecture are fixed at compile time because the components of the compiler, i.e., stages are given as template arguments. In terms of performance, this should be the preferred solution as it does not involve any lookup for pure virtual functions. For reference, see the following lines of code:
qmap/include/na/zoned/Compiler.hpp
Lines 193 to 215 in ac32fcf
However, as pointed out in this conversation of #624 it might be desirable for the future to also have a compiler where it is possible to exchange components at runtime. This can easily be implemented by a new Compiler class that has each component as a member and slightly adapts the body of the compile function to call the respective methods on the members instead of on itself.
Beta Was this translation helpful? Give feedback.
All reactions