Table of Contents

Struct CudaGraphMemsetNodeParameters

Namespace
JYPPX.CudaSharp
Assembly
JYPPX.CudaSharp.dll

Describes a CUDA graph memset node using copied scalar parameters. 使用复制出的标量参数描述 CUDA graph memset 节点。

public readonly struct CudaGraphMemsetNodeParameters
Inherited Members

Remarks

DestinationAddress is a diagnostic address value borrowed from CUDA; it is not an owning memory handle. DestinationAddress 是从 CUDA 读取的诊断地址值,不是拥有所有权的内存句柄。

Properties

DestinationAddress

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

public ulong DestinationAddress { get; }

Property Value

ulong

ElementSize

Gets the element size in bytes. 获取元素大小,单位为字节。

public uint ElementSize { get; }

Property Value

uint

Height

Gets the row count. 获取行数。

public ulong Height { get; }

Property Value

ulong

Pitch

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

public ulong Pitch { get; }

Property Value

ulong

Value

Gets the memset value. 获取 memset 填充值。

public uint Value { get; }

Property Value

uint

Width

Gets the row width in elements. 获取行宽,单位为元素。

public ulong Width { get; }

Property Value

ulong

Methods

ToString()

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

public override string ToString()

Returns

string