Skip to content

Commit 54b52a5

Browse files
authored
Fix bug introduced by #497. Make sure OPT kernels run. (#501)
1 parent 99d090e commit 54b52a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

larq_compute_engine/core/bgemm_trmul_params.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ void PopulateBgemmTrMulParams(const Mat<TBitpacked>& lhs,
2222
params->mul_params = ToVoidPtr(&mul_params);
2323

2424
// Optimised code paths only support all matrices being column-major
25-
if (ruy::IsColMajorTrMul(*params) && ThePath != ruy::Path::kStandardCpp) {
25+
if (!ruy::IsColMajorTrMul(*params) && ThePath != ruy::Path::kStandardCpp) {
2626
PopulateBgemmTrMulParams<ruy::Path::kStandardCpp>(lhs, rhs, dst, mul_params,
2727
params);
2828
return;

0 commit comments

Comments
 (0)