That’s not supported, and would be hard to implement efficiently given how GPUs execute.
If you need to do this, allocate an oversized buffer and a cursor which you increment atomically.
That’s not supported, and would be hard to implement efficiently given how GPUs execute.
If you need to do this, allocate an oversized buffer and a cursor which you increment atomically.