cuda.bindings._v2.driver.tensor_map_replace_address#

cuda.bindings._v2.driver.tensor_map_replace_address(tensor_map, intptr_t global_address)#

Modify an existing tensor map descriptor with an updated global address.

Modifies the descriptor for Tensor Memory Access (TMA) object passed in tensor_map with an updated global_address. Tensor map objects are only supported on devices of compute capability 9.0 or higher. Additionally, a tensor map object is an opaque value, and, as such, should only be accessed through CUDA API calls.

Parameters:
  • tensor_map (intptr_t) – Tensor map object to modify.

  • global_address (intptr_t) – Starting address of memory region described by tensor, must follow previous alignment requirements.

See also

cuTensorMapReplaceAddress