cuda.bindings._v2.driver.MemAttachFlags#

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

CUDA Mem Attach Flags

See CUmemAttach_flags.

GLOBAL: 1

Memory can be accessed by any stream on any device

HOST: 2

Memory cannot be accessed by any stream on any device

SINGLE: 4

Memory can only be accessed by a single stream on the associated device