Class CudaGraphConditionalHandle
Owns a CUDA conditional graph handle associated with one CudaGraph. 拥有一个与指定 CudaGraph 关联的 CUDA conditional graph handle。
public sealed class CudaGraphConditionalHandle : IDisposable
- Inheritance
-
CudaGraphConditionalHandle
- Implements
- Inherited Members
Properties
DefaultLaunchValue
Gets the default conditional value supplied at creation. 获取创建时提供的默认条件值。
public uint DefaultLaunchValue { get; }
Property Value
Flags
Gets the creation flags supplied to CUDA. 获取提供给 CUDA 的创建标志。
public CudaGraphConditionalHandleFlags Flags { get; }
Property Value
Methods
Dispose()
Releases the bridge metadata. CUDA owns the underlying conditional value until its graph is destroyed. 释放 bridge metadata;底层 conditional value 在 graph 销毁前由 CUDA 持有。
public void Dispose()