Skip to content

Commit bbb5bb8

Browse files
committed
GPU: Fix typo in getting default number of threads from env variables
1 parent dfd37f9 commit bbb5bb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GPU/GPUTracking/Base/GPUReconstruction.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ static uint32_t getDefaultNThreads()
209209
const char* ompEnv = getenv("OMP_NUM_THREADS");
210210
uint32_t ompNum = ompEnv ? atoi(ompEnv) : 0;
211211
if (ompNum) {
212-
return tbbNum;
212+
return ompNum;
213213
}
214214
return tbb::info::default_concurrency();
215215
}

0 commit comments

Comments
 (0)