Struct CudaResourceDescriptorSnapshot
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
HasDevicePointer
Gets whether a device pointer was present without exposing it. 获取是否存在 device pointer,但不暴露其值。
public bool HasDevicePointer { get; }
Property Value
HasMipmappedArray
Gets whether a mipmapped-array handle was present without exposing it. 获取是否存在 mipmapped-array handle,但不暴露其值。
public bool HasMipmappedArray { get; }
Property Value
Height
Gets the copied resource height. 获取复制的资源高度。
public ulong Height { get; }
Property Value
PitchInBytes
Gets the copied row pitch in bytes. 获取复制的行 pitch 字节数。
public ulong PitchInBytes { get; }
Property Value
ResourceType
Gets the copied CUDA resource type. 获取复制的 CUDA 资源类型。
public CudaResourceType ResourceType { get; }
Property Value
SizeInBytes
Gets the linear resource size in bytes. 获取线性资源的字节数。
public ulong SizeInBytes { get; }
Property Value
Width
Gets the copied resource width. 获取复制的资源宽度。
public ulong Width { get; }
Property Value
Methods
ToString()
Formats the copied resource descriptor for diagnostics. 格式化复制型资源 descriptor 以供诊断。
public override string ToString()