cuda.core.graph.Condition#
- class cuda.core.graph.Condition#
A condition variable for conditional graph nodes.
Created by
GraphDef.create_condition()and passed to conditional-node builder methods (if_cond,if_else,while_loop,switch). The underlying value is set at runtime by device code viacudaGraphSetConditional.Methods
- __init__()#
Attributes
- handle#
driver.CUgraphConditionalHandle
The raw CUgraphConditionalHandle as an int.
- Type:
Condition.handle