cuda.bindings._v2.driver.mem_host_get_flags#
- cuda.bindings._v2.driver.mem_host_get_flags(intptr_t p) unsigned int#
Passes back flags that were used for a pinned allocation.
Passes back the flags
p_flagsthat were specified when allocating the pinned host bufferpallocated bycuMemHostAlloc.mem_host_get_flags()will fail if the pointer does not reside in an allocation performed bycuMemAllocHost()ormem_host_alloc().- Parameters:
p (intptr_t) – Host pointer.
- Returns:
Returned flags word.
- Return type:
unsigned int
See also
cuMemHostGetFlags