diff options
author | Brad Smith <brad@comstyle.com> | 2025-04-17 15:11:33 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-17 15:11:33 -0400 |
commit | 06963fb9c79ae012de5796b73bb810f8da09728e (patch) | |
tree | b2e715c7fb305a86ebf254d593b5af19fae441ef /openmp/runtime/src/z_Linux_util.cpp | |
parent | da959c92c5a46abd59d38d26d5e0758d48fb7f65 (diff) | |
download | llvm-06963fb9c79ae012de5796b73bb810f8da09728e.zip llvm-06963fb9c79ae012de5796b73bb810f8da09728e.tar.gz llvm-06963fb9c79ae012de5796b73bb810f8da09728e.tar.bz2 |
[OpenMP] Disable load balance on Haiku (#136082)
Haiku does not have a means of retrieving the desired information
and the -1 setting causes the code to fallback anyway.
Diffstat (limited to 'openmp/runtime/src/z_Linux_util.cpp')
-rw-r--r-- | openmp/runtime/src/z_Linux_util.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/openmp/runtime/src/z_Linux_util.cpp b/openmp/runtime/src/z_Linux_util.cpp index 87f2711..3b82b45 100644 --- a/openmp/runtime/src/z_Linux_util.cpp +++ b/openmp/runtime/src/z_Linux_util.cpp @@ -2522,10 +2522,6 @@ int __kmp_get_load_balance(int max) { return running_threads; } -#elif KMP_OS_HAIKU - -int __kmp_get_load_balance(int max) { return -1; } - #else // Linux* OS // The function returns number of running (not sleeping) threads, or -1 in case |