launchZeroFloatStrided#

Fully qualified name: isaacsim::physics::newton::tensors::launchZeroFloatStrided

bool isaacsim::physics::newton::tensors::launchZeroFloatStrided(
float *dst,
int numIndices,
unsigned dstStride,
void *stream = nullptr,
)#

Zero out zero an array with stride.

dst[i * dstStride] = 0.0f for i in [0, numIndices).

Parameters:
  • dst – Device pointer to the destination array, length numIndices * dstStride.

  • numIndices – Number of gather slots.

  • dstStride – stride for writing to destination.

  • stream – CUDA stream to launch on.

Returns:

true if the launch succeeded.