cuda.bindings._v2.driver.PointerAttributeAccessFlags#
- class cuda.bindings._v2.driver.PointerAttributeAccessFlags(value: int)#
Access flags that specify the level of access the current context’s device has on the memory referenced.
See CUDA_POINTER_ATTRIBUTE_ACCESS_FLAGS.
- NONE: 0
No access, meaning the device cannot access this memory at all, thus must be staged through accessible memory in order to complete certain operations
- READ: 1
Read-only access, meaning writes to this memory are considered invalid accesses and thus return error in that case.
- READWRITE: 3
Read-write access, the device has full read-write access to the memory