Table of Contents

Struct CudaStreamCaptureInfo

Namespace
JYPPX.CudaSharp
Assembly
JYPPX.CudaSharp.dll

Captures CUDA stream graph-capture metadata. 表示 CUDA stream 的 graph capture 元数据。

public readonly struct CudaStreamCaptureInfo
Inherited Members

Constructors

CudaStreamCaptureInfo(CudaStreamCaptureStatus, ulong)

Creates stream capture metadata. 创建 stream 捕获元数据。

public CudaStreamCaptureInfo(CudaStreamCaptureStatus status, ulong captureId)

Parameters

status CudaStreamCaptureStatus

The capture status. 捕获状态。

captureId ulong

The CUDA capture id, or zero when not capturing. CUDA 捕获 ID;未捕获时通常为零。

Properties

CaptureId

Gets the CUDA capture id. 获取 CUDA 捕获 ID。

public ulong CaptureId { get; }

Property Value

ulong

DependencyCount

Gets the copied number of current capture dependencies. 获取复制出的当前 capture dependency 数量。

public ulong DependencyCount { get; }

Property Value

ulong

HasCapturedGraph

Gets whether CUDA reported a borrowed capture graph during the native call. 获取 CUDA 是否在 native 调用期间报告 borrowed capture graph。

public bool HasCapturedGraph { get; }

Property Value

bool

HasDependencyEdgeData

Gets whether CUDA reported edge-data metadata for the dependency list. 获取 CUDA 是否为 dependency list 报告 edge-data metadata。

public bool HasDependencyEdgeData { get; }

Property Value

bool

Status

Gets the stream capture status. 获取 stream 捕获状态。

public CudaStreamCaptureStatus Status { get; }

Property Value

CudaStreamCaptureStatus

Methods

ToString()

Returns a compact diagnostic string. 返回简短诊断字符串。

public override string ToString()

Returns

string

A readable stream capture string. 可读的 stream 捕获字符串。