cuda.bindings._v2.driver.mem_get_address_range_v2#
- cuda.bindings._v2.driver.mem_get_address_range_v2(uint64_t dptr) tuple#
Get information on memory allocations.
Returns the base address in
*pbaseand size in*psizeof the allocation that contains the input pointerdptr. Both parameterspbaseandpsizeare optional. If one of them is NULL, it is ignored.- Parameters:
dptr (uint64_t) – Device pointer to query.
- Returns:
uint64_t: Returned base address.
size_t: Returned size of device memory allocation.
- Return type:
A 2-tuple containing
See also
cuMemGetAddressRange_v2