Skip to content

Commit

Permalink
Merge branch 'testgpuerror' into metal-coreml
Browse files Browse the repository at this point in the history
  • Loading branch information
ChinChangYang committed Dec 11, 2023
2 parents 3514467 + bf816e7 commit ff76c07
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion cpp/command/gputest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,13 @@ int MainCmds::testgpuerror(const vector<string>& args) {
logger.write("For batch test, using default batch size 16");
}
const int maxConcurrentEvals = maxBatchSize * 2 + 16;
const int expectedConcurrentEvals = maxBatchSize * 2 + 16;
int expectedConcurrentEvals = maxBatchSize * 2 + 16;

#ifdef USE_EIGEN_BACKEND
if(expectedConcurrentEvals > 2)
expectedConcurrentEvals = 2;
#endif

const bool defaultRequireExactNNLen = false;

NNEvaluator* nnEval;
Expand Down

0 comments on commit ff76c07

Please sign in to comment.