orchestration
dace_inhibitor(func)
Triggers callback generation wrapping func while doing DaCe parsing.
orchestrate(*, obj, config, method_to_orchestrate='__call__', dace_compiletime_args=None)
Orchestrate a method of an object with DaCe. The method object is patched in place, replacing the original Callable with a wrapper that will trigger orchestration at call time. If the model configuration doesn't demand orchestration, this won't do anything.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
obj
|
object
|
object which methods is to be orchestrated |
required |
config
|
DaceConfig
|
DaceConfig carrying model configuration |
required |
method_to_orchestrate
|
str
|
string representing the name of the method |
'__call__'
|
dace_compiletime_args
|
Sequence[str] | None
|
list of names of arguments to be flagged has dace.compiletime for orchestration to behave |
None
|
orchestrate_function(config, dace_compiletime_args=None)
Decorator orchestrating a method of an object with DaCe. If the model configuration doesn't demand orchestration, this won't do anything.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
config
|
DaceConfig
|
DaceConfig carrying model configuration |
required |
dace_compiletime_args
|
Sequence[str] | None
|
list of names of arguments to be flagged has dace.compiletime for orchestration to behave |
None
|