cuda.bindings._v2.driver.MemRangeAttribute#
- class cuda.bindings._v2.driver.MemRangeAttribute(value: int)#
See CUmem_range_attribute.
- READ_MOSTLY: 1
Whether the range will mostly be read and only occasionally be written to
- PREFERRED_LOCATION: 2
The preferred location of the range
- ACCESSED_BY: 3
Memory range has CU_MEM_ADVISE_SET_ACCESSED_BY set for specified device
- LAST_PREFETCH_LOCATION: 4
The last location to which the range was prefetched
- PREFERRED_LOCATION_TYPE: 5
The preferred location type of the range
- PREFERRED_LOCATION_ID: 6
The preferred location id of the range
- LAST_PREFETCH_LOCATION_TYPE: 7
The last location type to which the range was prefetched
- LAST_PREFETCH_LOCATION_ID: 8
The last location id to which the range was prefetched