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 da959c9 commit 06963fbCopy full SHA for 06963fb
openmp/runtime/src/kmp_config.h.cmake
@@ -120,7 +120,7 @@
120
#define KMP_ASM_INTRINS 1
121
#define USE_ITT_BUILD LIBOMP_USE_ITT_NOTIFY
122
#define INTEL_ITTNOTIFY_PREFIX __kmp_itt_
123
-#if ! KMP_MIC
+#if ! (KMP_MIC || KMP_OS_HAIKU)
124
# define USE_LOAD_BALANCE 1
125
#endif
126
#if ! (KMP_OS_WINDOWS || KMP_OS_DARWIN)
openmp/runtime/src/z_Linux_util.cpp
@@ -2522,10 +2522,6 @@ int __kmp_get_load_balance(int max) {
2522
return running_threads;
2523
}
2524
2525
-#elif KMP_OS_HAIKU
2526
-
2527
-int __kmp_get_load_balance(int max) { return -1; }
2528
2529
#else // Linux* OS
2530
2531
// The function returns number of running (not sleeping) threads, or -1 in case
0 commit comments