cuda.bindings._v2.driver.pointer_get_attribute#
- cuda.bindings._v2.driver.pointer_get_attribute(int attribute, uint64_t ptr)#
Return an attribute of a pointer.
The type of the result depends on
attribute: anint(also for pointers and device addresses), abool, or aPointerAttributeP2PTokens_v1forP2P_TOKENS.- Parameters:
attribute (int) – A
PointerAttributevalue.ptr (uint64_t) – Pointer to query.
- Returns:
The attribute value.
- Return type:
See also
cuPointerGetAttribute