-
Notifications
You must be signed in to change notification settings - Fork 6
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
Feature/do concurrent #52
Conversation
* Added github workflow for multithreaded builds and tests with 4 threads.
* amdflang compiler fails at this reference, for some reason...
Codecov ReportAttention: Patch coverage is
📢 Thoughts on this report? Let us know! |
It looks like ctest is exiting prematurely in github actions leading to low coverage (possibly?)
The tests appear to be running shorter than they should but we're not getting a failure in the ctests. I noticed that WORKSPACE was not set, which should definitely cause a problem for any of the mapped* tests.
@garrettbyrd - This one's ready for your review. I think I've got the coverage issue sorted out as well ( #50 ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. Do we also need to change .superci/armory.yml
to the updated coverage commands?
This PR is related to #51
OpenMP pragmas have been completely removed. Computationally heavy loops for 1D, 2D, and 3D have all been replaced with equivalent
do concurrent
blocks.The CMake build system has been updated to include two new options (1)
SELF_ENABLE_MULTITHREADING
and (2)SELF_MULTITHREADING_NTHREADS
. Help descriptions are included in theCMakeLists.txt
file.I've tested on Noether and on a local workstation with a [email protected] stack using 4 threads for parallelism.