mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-10 23:09:06 +08:00
Use computeProductBlockingSizes to compute blocking for both ShardByCol and ShardByRow cases.
This commit is contained in:
parent
3dddd34133
commit
463738ccbe
@ -35,9 +35,7 @@ class TensorContractionBlocking {
|
|||||||
computeProductBlockingSizes<LhsScalar, RhsScalar, 1>(kc_, mc_, nc_, num_threads);
|
computeProductBlockingSizes<LhsScalar, RhsScalar, 1>(kc_, mc_, nc_, num_threads);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (kc_ && mc_ && nc_) {
|
computeProductBlockingSizes<LhsScalar, RhsScalar, 1>(kc_, nc_, mc_, num_threads);
|
||||||
mc_ = (((m / num_threads) + 15) / 16) * 16;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user