warp.tile_lower_solve_inplace#
- warp.tile_lower_solve_inplace( ) None#
Solve
L z = yin place for a lower-triangularL, overwritingywithz.Behaves like
tile_lower_solve()– only the lower triangle ofLis read, the right-hand side may be 1D or 2D, and the same dtype and backend rules apply – except that the solution overwritesyinstead of being returned.This is a cooperative operation, so every thread in the block must call it.
This in-place variant avoids allocating shared memory for a separate output, but is not differentiable.
- Parameters:
L – A square, non-singular, lower-triangular tile with
shape=(M, M).y – The right-hand side, a tile with
shape=(M,)orshape=(M, NRHS), overwritten by the solutionz.
See
tile_lower_solve()for a usage example.