validateFloat32TensorAnyDevice#
Fully qualified name: isaacsim::physics::newton::tensors::validateFloat32TensorAnyDevice
- inline bool isaacsim::physics::newton::tensors::validateFloat32TensorAnyDevice(
- const TensorDesc *tensor,
- size_t expectedElements,
- const char *tensorName,
- const char *funcName,
Validates a float32 tensor’s dtype and size but allows the tensor to reside on any device. Used by GPU views that internally stage CPU tensors via H2D copy (GC configuration).