setTensorDeviceOrdinal#
Fully qualified name: isaacsim::physics_engines::ovphysx::setTensorDeviceOrdinal
- void isaacsim::physics_engines::ovphysx::setTensorDeviceOrdinal(
- int ordinal,
Declares the device on which this backend’s tensors reside.
ovphysx exposes no query for the device its scene selected, so the caller that configured the tensor device states it here. Entity views report this value, and they read it on each access, so a caller that only learns the device once stepping has begun may set it after its views exist.
- Parameters:
ordinal – [in] CUDA device ordinal, or
-1for host memory.