Table of Contents

Enum CudaFunctionCachePreference

Namespace
JYPPX.CudaSharp
Assembly
JYPPX.CudaSharp.dll

Selects the preferred shared-memory/L1 cache split for subsequent CUDA launches. 选择后续 CUDA launch 使用的 shared memory / L1 cache 倾向。

public enum CudaFunctionCachePreference

Fields

PreferEqual = 3

Prefer equal shared memory and L1 cache split. 偏向 shared memory 与 L1 cache 等分。

PreferL1 = 2

Prefer larger L1 cache and smaller shared memory. 偏向更大的 L1 cache 和更小的 shared memory。

PreferNone = 0

Do not prefer either shared memory or L1 cache. 不显式偏向 shared memory 或 L1 cache。

PreferShared = 1

Prefer larger shared memory and smaller L1 cache. 偏向更大的 shared memory 和更小的 L1 cache。