Skip to content

Commit

Permalink
[ci] fix ci error
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Mar 14, 2024
1 parent acc5f1e commit eb3aa19
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ jobs:
- name: Build binary
run: |
cd bin
./mmc -L
./mmc --bench
./mmc --bench dmmc-cube60 -S 0 -D T -G -1
./mmc --bench dmmc-cube60b -S 0 -D T -G -1
Expand Down
8 changes: 8 additions & 0 deletions src/mmc_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -2827,6 +2827,14 @@ void mcx_validatecfg(mcconfig* cfg) {
cfg->method = rtBLBadouel;
}

#ifndef MMC_USE_SSE

if (cfg->gpuid < 0 && cfg->method == rtBLBadouelGrid) {
cfg->method = rtPlucker;
}

#endif

if (cfg->method == rtBLBadouelGrid) {
cfg->basisorder = 0;
}
Expand Down

0 comments on commit eb3aa19

Please sign in to comment.