warp.atomic\_add ================ .. function:: warp._src.lang.atomic_add(arr: Array[Any], i: Int, value: Any) -> Any .. hlist:: :columns: 8 * Kernel * Differentiable Atomically adds ``value`` onto ``arr[i]`` and returns the original value of ``arr[i]``. This function is automatically invoked when using the syntax ``arr[i] += value``. .. function:: warp._src.lang.atomic_add(arr: Array[Any], i: Int, j: Int, value: Any) -> Any :noindex: .. hlist:: :columns: 8 * Kernel * Differentiable Atomically adds ``value`` onto ``arr[i,j]`` and returns the original value of ``arr[i,j]``. This function is automatically invoked when using the syntax ``arr[i,j] += value``. .. function:: warp._src.lang.atomic_add(arr: Array[Any], i: Int, j: Int, k: Int, value: Any) -> Any :noindex: .. hlist:: :columns: 8 * Kernel * Differentiable Atomically adds ``value`` onto ``arr[i,j,k]`` and returns the original value of ``arr[i,j,k]``. This function is automatically invoked when using the syntax ``arr[i,j,k] += value``. .. function:: warp._src.lang.atomic_add(arr: Array[Any], i: Int, j: Int, k: Int, l: Int, value: Any) -> Any :noindex: .. hlist:: :columns: 8 * Kernel * Differentiable Atomically adds ``value`` onto ``arr[i,j,k,l]`` and returns the original value of ``arr[i,j,k,l]``. This function is automatically invoked when using the syntax ``arr[i,j,k,l] += value``. .. function:: warp._src.lang.atomic_add(arr: FabricArray[Any], i: Int, value: Any) -> Any :noindex: .. hlist:: :columns: 8 * Kernel * Differentiable Atomically adds ``value`` onto ``arr[i]`` and returns the original value of ``arr[i]``. This function is automatically invoked when using the syntax ``arr[i] += value``. .. function:: warp._src.lang.atomic_add(arr: FabricArray[Any], i: Int, j: Int, value: Any) -> Any :noindex: .. hlist:: :columns: 8 * Kernel * Differentiable Atomically adds ``value`` onto ``arr[i,j]`` and returns the original value of ``arr[i,j]``. This function is automatically invoked when using the syntax ``arr[i,j] += value``. .. function:: warp._src.lang.atomic_add(arr: FabricArray[Any], i: Int, j: Int, k: Int, value: Any) -> Any :noindex: .. hlist:: :columns: 8 * Kernel * Differentiable Atomically adds ``value`` onto ``arr[i,j,k]`` and returns the original value of ``arr[i,j,k]``. This function is automatically invoked when using the syntax ``arr[i,j,k] += value``. .. function:: warp._src.lang.atomic_add(arr: FabricArray[Any], i: Int, j: Int, k: Int, l: Int, value: Any) -> Any :noindex: .. hlist:: :columns: 8 * Kernel * Differentiable Atomically adds ``value`` onto ``arr[i,j,k,l]`` and returns the original value of ``arr[i,j,k,l]``. This function is automatically invoked when using the syntax ``arr[i,j,k,l] += value``. .. function:: warp._src.lang.atomic_add(arr: IndexedFabricArray[Any], i: Int, value: Any) -> Any :noindex: .. hlist:: :columns: 8 * Kernel * Differentiable Atomically adds ``value`` onto ``arr[i]`` and returns the original value of ``arr[i]``. This function is automatically invoked when using the syntax ``arr[i] += value``. .. function:: warp._src.lang.atomic_add(arr: IndexedFabricArray[Any], i: Int, j: Int, value: Any) -> Any :noindex: .. hlist:: :columns: 8 * Kernel * Differentiable Atomically adds ``value`` onto ``arr[i,j]`` and returns the original value of ``arr[i,j]``. This function is automatically invoked when using the syntax ``arr[i,j] += value``. .. function:: warp._src.lang.atomic_add(arr: IndexedFabricArray[Any], i: Int, j: Int, k: Int, value: Any) -> Any :noindex: .. hlist:: :columns: 8 * Kernel * Differentiable Atomically adds ``value`` onto ``arr[i,j,k]`` and returns the original value of ``arr[i,j,k]``. This function is automatically invoked when using the syntax ``arr[i,j,k] += value``. .. function:: warp._src.lang.atomic_add(arr: IndexedFabricArray[Any], i: Int, j: Int, k: Int, l: Int, value: Any) -> Any :noindex: .. hlist:: :columns: 8 * Kernel * Differentiable Atomically adds ``value`` onto ``arr[i,j,k,l]`` and returns the original value of ``arr[i,j,k,l]``. This function is automatically invoked when using the syntax ``arr[i,j,k,l] += value``.