We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 669065c commit 64c3deaCopy full SHA for 64c3dea
clients/common/client_utility.cpp
@@ -65,8 +65,7 @@ void rocblas_client_init()
65
const int processor_count = std::thread::hardware_concurrency();
66
if(processor_count > 0)
67
{
68
-
69
- const int omp_current_threads = omp_get_num_procs();
+ const int omp_current_threads = omp_get_max_threads();
70
if(omp_current_threads >= processor_count)
71
72
int limiter = processor_count > 4 ? processor_count - 2 : processor_count;
0 commit comments