cuda.bindings.nvml.MemoryLocation#

class cuda.bindings.nvml.MemoryLocation(value: int)#

See nvmlDeviceGetMemoryErrorCounter

See nvmlMemoryLocation_t.

L1_CACHE: 0

GPU L1 Cache.

L2_CACHE: 1

GPU L2 Cache.

DRAM: 2

Turing+ DRAM.

DEVICE_MEMORY: 2

GPU Device Memory.

REGISTER_FILE: 3

GPU Register File.

TEXTURE_MEMORY: 4

GPU Texture Memory.

TEXTURE_SHM: 5

Shared memory.

CBU: 6

CBU.

SRAM: 7

Turing+ SRAM.

COUNT: 8

This counts the number of memory locations the driver knows about.