[ROCm] Fix for a bug in the ROCm implementation for matrix_triangular_solve op
This commit is contained in:
parent
675799d105
commit
b5a3eda2dc
@ -332,7 +332,7 @@ struct LaunchBatchMatrixTriangularSolve<GPUDevice, Scalar> {
|
|||||||
// output' = rhs' / matrix' (' stands for transpose)
|
// output' = rhs' / matrix' (' stands for transpose)
|
||||||
// Upper/lower needs to be swapped for this.
|
// Upper/lower needs to be swapped for this.
|
||||||
|
|
||||||
uplo = lower ? rocblas_fill_upper : rocblas_fill_upper;
|
uplo = lower ? rocblas_fill_upper : rocblas_fill_lower;
|
||||||
trans = adjoint ? rocblas_operation_conjugate_transpose
|
trans = adjoint ? rocblas_operation_conjugate_transpose
|
||||||
: rocblas_operation_none;
|
: rocblas_operation_none;
|
||||||
auto solver = absl::make_unique<ROCmSolver>(context);
|
auto solver = absl::make_unique<ROCmSolver>(context);
|
||||||
|
Loading…
Reference in New Issue
Block a user