Table of Contents

Enum CudaArrayCreationFlags

Namespace
JYPPX.CudaSharp
Assembly
JYPPX.CudaSharp.dll

Flags that control CUDA array creation behavior. 控制 CUDA array 创建行为的标志。

[Flags]
public enum CudaArrayCreationFlags : uint

Fields

ColorAttachment = 32

Marks the array as a color attachment. 将该 array 标记为 color attachment。

Cubemap = 4

Creates a cubemap-compatible CUDA array. 创建兼容 cubemap 的 CUDA array。

Default = 0

Uses CUDA default array-creation behavior. 使用 CUDA 默认的 array 创建行为。

DeferredMapping = 128

Enables deferred mapping for sparse arrays. 为 sparse array 启用 deferred mapping。

Layered = 1

Creates a layered CUDA array. 创建 layered CUDA array。

Sparse = 64

Creates a sparse CUDA array. 创建 sparse CUDA array。

SurfaceLoadStore = 2

Enables surface load/store support. 启用 surface load/store 支持。

TextureGather = 8

Enables texture gather support. 启用 texture gather 支持。