Table of Contents

Enum CudaGraphConditionalNodeType

Namespace
JYPPX.CudaSharp
Assembly
JYPPX.CudaSharp.dll

Identifies the CUDA conditional graph node body policy. 标识 CUDA conditional graph 节点的 body 策略。

public enum CudaGraphConditionalNodeType

Fields

If = 0

Executes the first or optional second body as an if/else branch. 以 if/else 分支执行第一个或可选的第二个 body。

Switch = 2

Selects one body using the condition value. 使用条件值选择一个 body。

While = 1

Repeats the body while the condition remains nonzero. 条件保持非零时重复执行 body。