Table of Contents

Struct CudaResourceDescriptorSnapshot

Namespace
JYPPX.CudaSharp
Assembly
JYPPX.CudaSharp.dll

Contains a pointer-free copied CUDA resource descriptor. 包含无指针的 CUDA resource descriptor 副本。

public readonly struct CudaResourceDescriptorSnapshot
Inherited Members

Properties

HasArray

Gets whether an array handle was present without exposing it. 获取是否存在 array handle,但不暴露其值。

public bool HasArray { get; }

Property Value

bool

HasDevicePointer

Gets whether a device pointer was present without exposing it. 获取是否存在 device pointer,但不暴露其值。

public bool HasDevicePointer { get; }

Property Value

bool

HasMipmappedArray

Gets whether a mipmapped-array handle was present without exposing it. 获取是否存在 mipmapped-array handle,但不暴露其值。

public bool HasMipmappedArray { get; }

Property Value

bool

Height

Gets the copied resource height. 获取复制的资源高度。

public ulong Height { get; }

Property Value

ulong

PitchInBytes

Gets the copied row pitch in bytes. 获取复制的行 pitch 字节数。

public ulong PitchInBytes { get; }

Property Value

ulong

ResourceType

Gets the copied CUDA resource type. 获取复制的 CUDA 资源类型。

public CudaResourceType ResourceType { get; }

Property Value

CudaResourceType

SizeInBytes

Gets the linear resource size in bytes. 获取线性资源的字节数。

public ulong SizeInBytes { get; }

Property Value

ulong

Width

Gets the copied resource width. 获取复制的资源宽度。

public ulong Width { get; }

Property Value

ulong

Methods

ToString()

Formats the copied resource descriptor for diagnostics. 格式化复制型资源 descriptor 以供诊断。

public override string ToString()

Returns

string