cuda.bindings._v2.driver.GraphMemAttribute#

class cuda.bindings._v2.driver.GraphMemAttribute(value: int)#

See CUgraphMem_attribute.

USED_MEM_CURRENT: 0

(value type = cuuint64_t) Amount of memory, in bytes, currently associated with graphs

USED_MEM_HIGH: 1

(value type = cuuint64_t) High watermark of memory, in bytes, associated with graphs since the last time it was reset. High watermark can only be reset to zero.

RESERVED_MEM_CURRENT: 2

(value type = cuuint64_t) Amount of memory, in bytes, currently allocated for use by the CUDA graphs asynchronous allocator.

RESERVED_MEM_HIGH: 3

(value type = cuuint64_t) High watermark of memory, in bytes, currently allocated for use by the CUDA graphs asynchronous allocator.