warp.tile_atomic_add#
- warp.tile_atomic_add( ) Tile[Any, tuple[int, ...]]#
Kernel
Differentiable
Atomically add a tile onto the array
a.Each element is updated atomically.
- Parameters:
a – Array in global memory, should have the same
dtypeas the input tilet – Source tile to add to the destination array
offset – Offset in the destination array (optional)
bounds_check – Needed for unaligned tiles, but can disable for memory-aligned tiles for faster write times
- Returns:
A tile with the same dimensions and data type as the source tile, holding the original value of the destination elements.