Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenMP locks instead of busy-waiting with NUM_PARALLEL #4503

Merged
merged 2 commits into from
Mar 14, 2024

Merge branch 'shivam-develop' into shivam-Locks

d49ebc5
Select commit
Loading
Failed to load commit list.
Merged

OpenMP locks instead of busy-waiting with NUM_PARALLEL #4503

Merge branch 'shivam-develop' into shivam-Locks
d49ebc5
Select commit
Loading
Failed to load commit list.
Cirrus CI / FreeBSD-clang-openmp failed Feb 29, 2024 in 9m 13s

Task Summary

Instruction compile failed in 06:43

Details

✅ 00:15 clone
✅ 02:12 install
❌ 06:43 compile

Initializing random number generator...done
Preparing to test CBLAS DGEMV thread safety
Allocating matrices...done
Allocating vectors...done
Filling matrices with random numbers...done
Filling vectors with random numbers...done
Testing CBLAS DGEMV thread safety
DGEMV round #0
Launching 2 threads simultaneously using OpenMP...done
Waiting for threads to finish...done
Comparing results from different threads...OK!

DGEMV round #1
Launching 2 threads simultaneously using OpenMP...done
Waiting for threads to finish...done
Comparing results from different threads...OK!

DGEMV round #2
Launching 2 threads simultaneously using OpenMP...done
Waiting for threads to finish...done
Comparing results from different threads...OK!

DGEMV round #3
Launching 2 threads simultaneously using OpenMP...done
Waiting for threads to finish...done
Comparing results from different threads...OK!

DGEMV round #4
Launching 2 threads simultaneously using OpenMP...done
Waiting for threads to finish...done
Comparing results from different threads...OK!

DGEMV round #5
Launching 2 threads simultaneously using OpenMP...done
Waiting for threads to finish...done
Comparing results from different threads...OK!

DGEMV round #6
Launching 2 threads simultaneously using OpenMP...done
Waiting for threads to finish...done
Comparing results from different threads...OK!

DGEMV round #7
Launching 2 threads simultaneously using OpenMP...done
Waiting for threads to finish...done
Comparing results from different threads...OK!

DGEMV round #8
Launching 2 threads simultaneously using OpenMP...done
Waiting for threads to finish...gmake[1]: *** [Makefile:8: dgemv_tester] Segmentation fault (core dumped)
gmake[1]: *** Deleting file 'dgemv_tester'
gmake[1]: Leaving directory '/tmp/cirrus-ci-build/cpp_thread_test'
gmake: *** [Makefile:170: tests] Error 2

Exit status: 2