cuda.bindings._v2.driver.mem_range_get_attributes#

cuda.bindings._v2.driver.mem_range_get_attributes(
data_sizes,
attributes,
uint64_t dev_ptr,
size_t count,
) → list#

Return several attributes of a memory range, in one call.

Parameters:
  • data_sizes (sequence of int) – Size in bytes of each result.

  • attributes (sequence of int) – MemRangeAttribute values.

  • dev_ptr (uint64_t) – Start of the memory range.

  • count (size_t) – Size of the range in bytes.

Returns:

One value per attribute, as for mem_range_get_attribute().

Return type:

list

See also

cuMemRangeGetAttributes