cuda.bindings._v2.driver.mem_get_access#

cuda.bindings._v2.driver.mem_get_access(location, uint64_t ptr) → unsigned long long#

Get the access flags set for the given location and ptr.

Parameters:
  • location (intptr_t) – Location in which to check the flags for.

  • ptr (uint64_t) – Address in which to check the access flags for.

Returns:

Flags set for this location.

Return type:

unsigned long long

See also

cuMemGetAccess