Struct CudaArrayExtent
Represents the width, height, and depth of a CUDA array extent. 表示 CUDA array 的宽度、高度和深度范围。
public readonly struct CudaArrayExtent
- Inherited Members
Constructors
CudaArrayExtent(ulong, ulong, ulong)
Initializes a CUDA array extent. 初始化 CUDA array 的范围信息。
public CudaArrayExtent(ulong width, ulong height, ulong depth)
Parameters
Properties
Depth
Gets the depth of the extent. 获取范围的深度。
public ulong Depth { get; }
Property Value
Height
Gets the height of the extent. 获取范围的高度。
public ulong Height { get; }
Property Value
Width
Gets the width of the extent. 获取范围的宽度。
public ulong Width { get; }
Property Value
Methods
ToString()
Formats the extent as width x height x depth text. 将范围格式化为 width x height x depth 文本。
public override string ToString()