Table of Contents

Struct CudaArrayExtent

Namespace
JYPPX.CudaSharp
Assembly
JYPPX.CudaSharp.dll

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

width ulong
height ulong
depth ulong

Properties

Depth

Gets the depth of the extent. 获取范围的深度。

public ulong Depth { get; }

Property Value

ulong

Height

Gets the height of the extent. 获取范围的高度。

public ulong Height { get; }

Property Value

ulong

Width

Gets the width of the extent. 获取范围的宽度。

public ulong Width { get; }

Property Value

ulong

Methods

ToString()

Formats the extent as width x height x depth text. 将范围格式化为 width x height x depth 文本。

public override string ToString()

Returns

string