We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8794e13 commit a501896Copy full SHA for a501896
ggml/src/ggml-cpu/ops.cpp
@@ -9698,7 +9698,7 @@ static void ggml_compute_forward_solve_tri_f32(const struct ggml_compute_params
9698
for (int64_t t = 0; t < i00; ++t) {
9699
sum += A_batch[i00 * n + t] * X_batch[t * k + i01];
9700
}
9701
-
+
9702
const float diag = A_batch[i00 * n + i00];
9703
GGML_ASSERT(diag != 0.0f && "Zero diagonal in triangular matrix");
9704
X_batch[i00 * k + i01] = (B_batch[i00 * k + i01] - sum) / diag;
0 commit comments