Expand description
Pointer attribute queries (cuPointerGetAttribute).
Enums§
- Memory
Type - Memory “kind” returned by
CUpointer_attribute::MEMORY_TYPE.
Functions§
- device_
ordinal - Query the device ordinal this allocation was created on.
- is_
managed - Query whether a pointer refers to managed (unified) memory.
- memory_
type - Query the memory type of a device pointer.
- range_
attribute_ ⚠raw - Query a single attribute on a managed-memory range.
- range_
attributes_ ⚠batched - Batched range-attribute query.
data[i]has sizedata_sizes[i]. - range_
size - Query the size (bytes) of the range this pointer sits inside.
- raw_
attribute ⚠ - Raw pointer-attribute query.
attributeis one ofbaracuda_cuda_sys::types::CUpointer_attribute; the caller must provide a writableoutof the correct size for that attribute. - raw_
attributes_ ⚠batched - Batched pointer-attribute query. For each
attributeinattributesthere must be a matching writable slot indatasized for that attribute’s value type. - set_
attribute_ ⚠raw - Set a single pointer attribute (typically
SYNC_MEMOPS).