Skip to content

Commit

Permalink
On second thoughts, keep the swizzle tuning for small RHS count
Browse files Browse the repository at this point in the history
  • Loading branch information
maddyscientist committed Feb 1, 2024
1 parent 5e23850 commit a6aafaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/restrictor.in.cu
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ namespace quda {

bool advanceAux(TuneParam &param) const
{
if (Arg<false>::swizzle && in.size() == 1) {
if (Arg<false>::swizzle && in.size() < 8) {
if (param.aux.x < 2 * (int)device::processor_count()) {
param.aux.x++;
return true;
Expand Down

0 comments on commit a6aafaf

Please sign in to comment.