Table of Contents

Class CudaGraphConditionalHandle

Namespace
JYPPX.CudaSharp
Assembly
JYPPX.CudaSharp.dll

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

uint

Flags

Gets the creation flags supplied to CUDA. 获取提供给 CUDA 的创建标志。

public CudaGraphConditionalHandleFlags Flags { get; }

Property Value

CudaGraphConditionalHandleFlags

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()