Skip to content

Commit

Permalink
Remove the absolute value
Browse files Browse the repository at this point in the history
  • Loading branch information
philipturner committed Jul 6, 2023
1 parent 1de26f9 commit 3907d18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/GEMM.metal
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ void _gemm_impl(device T *A [[buffer(0)]],
}
}

if (abs(alpha) != 1) {
if (alpha != 1) {
#pragma clang loop unroll(full)
for (int m = 0; m < M_padded; m += 8) {
#pragma clang loop unroll(full)
Expand Down

0 comments on commit 3907d18

Please sign in to comment.