Enum CudaGraphConditionalNodeType
Identifies the CUDA conditional graph node body policy. 标识 CUDA conditional graph 节点的 body 策略。
public enum CudaGraphConditionalNodeType
Fields
If = 0Executes the first or optional second body as an if/else branch. 以 if/else 分支执行第一个或可选的第二个 body。
Switch = 2Selects one body using the condition value. 使用条件值选择一个 body。
While = 1Repeats the body while the condition remains nonzero. 条件保持非零时重复执行 body。