launchGatherPairedFloat#
Fully qualified name: isaacsim::physics::newton::tensors::launchGatherPairedFloat
- bool isaacsim::physics::newton::tensors::launchGatherPairedFloat(
- const float *srcA,
- const float *srcB,
- float *dst,
- const int *devIndices,
- int numIndices,
- void *stream = nullptr,
Interleaved gather from two parallel source arrays.
dst[2*i] = srcA[devIndices[i]]dst[2*i+1] = srcB[devIndices[i]]- Parameters:
srcA – Device pointer to the first source array.
srcB – Device pointer to the second source array.
dst – Device pointer to
[numIndices, 2]floats.devIndices – Device index array, length
numIndices.numIndices – Number of gather slots.
stream – CUDA stream.
- Returns:
trueif the launch succeeded.