OMNI_GRAPH_EXEC_REGISTER_PARTITION_PASS#
-
OMNI_GRAPH_EXEC_REGISTER_PARTITION_PASS(class_, priority_)#
Adds an omni::graph::exec::unstable::IPartitionPass to a list to be registered as type omni::graph::exec::unstable::PassType::ePartitioning at the module’s (i.e.g DLL) startup.
This macro should be called at global scope (not within a function/method).
In order to avoid accidentally registering a pass twice, it is recommended to call this macro from a *.cpp* file rather than a *.h* file.
See Pass Registration for more information about pass registration.
- Parameters:
class_ – An implementation of omni::graph::exec::unstable::IPartitionPass.
priority_ – omni::graph::exec::unstable::PassPriority used to resolve conflicts between passes