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

A couple of Examples/concurrency #736

Open
wants to merge 22 commits into
base: examples/concurrency
Choose a base branch
from

Conversation

deukhyun-cha
Copy link
Contributor

Examples for 1) OpenMP streams to generalize the "stream" concept for all modes 2) Internal thread safe block for occa properties.

deukhyun-cha and others added 22 commits November 22, 2023 11:28
The environment variable `SYCL_DEVICE_FILTER` used by the oneAPI SDK is deprecated, causing some tests to fail.
Intended for CMake builds which add occa as a subdirectory.
…sary. Add an option to only generate jit kernel related code for the new number of kernel arguments and leave others to the default value for compile time efficiency (libocca#725)
* Refactor OpenCL utilities and device creation.

* Update OpenCL default device type.

* Only run math function test for active modes.

* Update GitHub workflows.

* Remove OpenCL from math function tests.
@deukhyun-cha
Copy link
Contributor Author

  • Created as a draft for any discussion before (or to decide) a merge.
  • The original examples/concurrency branch seems behind for some commits from the development and needs to catch up.

Copy link

codecov bot commented Jan 24, 2024

Codecov Report

Attention: 103 lines in your changes are missing coverage. Please review.

Comparison is base (ec6e59d) 75.26% compared to head (519d104) 74.96%.
Report is 1 commits behind head on examples/concurrency.

Additional details and impacted files

Impacted file tree graph

@@                   Coverage Diff                    @@
##           examples/concurrency     #736      +/-   ##
========================================================
- Coverage                 75.26%   74.96%   -0.30%     
========================================================
  Files                       297      298       +1     
  Lines                     19324    19486     +162     
========================================================
+ Hits                      14544    14608      +64     
- Misses                     4780     4878      +98     
Files Coverage Δ
include/occa/core/memoryPool.tpp 100.00% <ø> (ø)
include/occa/functional/typelessArray.hpp 73.49% <100.00%> (ø)
src/c/base.cpp 85.71% <100.00%> (ø)
src/c/memoryPool.cpp 87.87% <100.00%> (ø)
src/core/base.cpp 72.82% <100.00%> (+2.17%) ⬆️
src/core/kernel.cpp 85.93% <ø> (ø)
src/core/memory.cpp 84.71% <100.00%> (+1.38%) ⬆️
src/occa/internal/core/device.hpp 100.00% <ø> (ø)
src/occa/internal/core/memory.cpp 100.00% <ø> (ø)
src/occa/internal/core/memoryPool.cpp 68.58% <ø> (ø)
... and 18 more

... and 3 files with indirect coverage changes

@deukhyun-cha deukhyun-cha marked this pull request as ready for review March 19, 2024 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants