Table of Contents

Struct CudaGraphMemcpyNodeParameters

Namespace
JYPPX.CudaSharp
Assembly
JYPPX.CudaSharp.dll

Describes a CUDA graph memcpy node using copied diagnostic values. 使用复制出的诊断值描述 CUDA graph memcpy 节点。

public readonly struct CudaGraphMemcpyNodeParameters
Inherited Members

Remarks

Address properties are diagnostic numeric values borrowed from CUDA. They are not owning memory handles and cannot be used for memory access. 地址属性是从 CUDA 读取的诊断数值,不是拥有所有权的内存句柄,也不能用于内存访问。

Properties

Depth

Gets the copied extent depth. 获取复制深度。

public ulong Depth { get; }

Property Value

ulong

DestinationAddress

Gets the destination address as a diagnostic value. 获取目标地址的诊断数值。

public ulong DestinationAddress { get; }

Property Value

ulong

DestinationIsArray

Gets whether CUDA reported an array destination. 获取 CUDA 是否报告目标为 array。

public bool DestinationIsArray { get; }

Property Value

bool

DestinationPitch

Gets the destination pitch in bytes. 获取目标 pitch,单位为字节。

public ulong DestinationPitch { get; }

Property Value

ulong

DestinationPositionX

Gets the destination X offset. 获取目标 X 偏移。

public ulong DestinationPositionX { get; }

Property Value

ulong

DestinationPositionY

Gets the destination Y offset. 获取目标 Y 偏移。

public ulong DestinationPositionY { get; }

Property Value

ulong

DestinationPositionZ

Gets the destination Z offset. 获取目标 Z 偏移。

public ulong DestinationPositionZ { get; }

Property Value

ulong

DestinationXSize

Gets the destination row length descriptor. 获取目标 row length descriptor。

public ulong DestinationXSize { get; }

Property Value

ulong

DestinationYSize

Gets the destination layer height descriptor. 获取目标 layer height descriptor。

public ulong DestinationYSize { get; }

Property Value

ulong

Height

Gets the copied extent height. 获取复制高度。

public ulong Height { get; }

Property Value

ulong

Kind

Gets the CUDA memcpy direction reported by CUDA. 获取 CUDA 报告的 memcpy 方向。

public CudaMemcpyKind Kind { get; }

Property Value

CudaMemcpyKind

SourceAddress

Gets the source address as a diagnostic value. 获取源地址的诊断数值。

public ulong SourceAddress { get; }

Property Value

ulong

SourceIsArray

Gets whether CUDA reported an array source. 获取 CUDA 是否报告源为 array。

public bool SourceIsArray { get; }

Property Value

bool

SourcePitch

Gets the source pitch in bytes. 获取源 pitch,单位为字节。

public ulong SourcePitch { get; }

Property Value

ulong

SourcePositionX

Gets the source X offset. 获取源 X 偏移。

public ulong SourcePositionX { get; }

Property Value

ulong

SourcePositionY

Gets the source Y offset. 获取源 Y 偏移。

public ulong SourcePositionY { get; }

Property Value

ulong

SourcePositionZ

Gets the source Z offset. 获取源 Z 偏移。

public ulong SourcePositionZ { get; }

Property Value

ulong

SourceXSize

Gets the source row length descriptor. 获取源 row length descriptor。

public ulong SourceXSize { get; }

Property Value

ulong

SourceYSize

Gets the source layer height descriptor. 获取源 layer height descriptor。

public ulong SourceYSize { get; }

Property Value

ulong

Width

Gets the copied extent width in bytes for 1D nodes. 获取 1D 节点的复制宽度,单位为字节。

public ulong Width { get; }

Property Value

ulong

Methods

ToString()

Formats the copied memcpy node parameters for diagnostics. 将复制出的 memcpy node 参数格式化为诊断字符串。

public override string ToString()

Returns

string