Skip to content

Commit

Permalink
edit: use serial implementation under CUDA parallel by default
Browse files Browse the repository at this point in the history
  • Loading branch information
HPDell committed Aug 2, 2024
1 parent 2440424 commit 4de2600
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gwmodelpp/GWRBasic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1389,6 +1389,8 @@ void GWRBasic::setParallelType(const ParallelType& type)
mFitCoreFunction = &GWRBasic::fitCoreCuda;
mFitCoreCVFunction = &GWRBasic::fitCoreCVCuda;
mFitCoreSHatFunction = &GWRBasic::fitCoreSHatCuda;
mCalcTrQtQCoreFunction = &GWRBasic::calcTrQtQCoreSerial;
mCalcDiagBCoreFunction = &GWRBasic::calcDiagBCoreSerial;
break;
#endif // ENABLE_CUDA
default:
Expand Down

0 comments on commit 4de2600

Please sign in to comment.