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

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 (#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: Patch coverage is 55.41126% with 103 lines in your changes missing coverage. Please review.

Project coverage is 74.96%. Comparing base (ec6e59d) to head (519d104).
Report is 21 commits behind head on examples/concurrency.

Files Patch % Lines
src/occa/internal/lang/qualifier.cpp 29.23% 46 Missing ⚠️
src/occa/internal/lang/loaders/typeLoader.cpp 39.39% 20 Missing ⚠️
src/occa/internal/lang/modes/dpcpp.cpp 75.00% 11 Missing ⚠️
...a/internal/lang/builtins/attributes/simdLength.cpp 50.00% 10 Missing ⚠️
src/occa/internal/core/device.cpp 0.00% 5 Missing ⚠️
src/occa/internal/lang/type/vartype.cpp 0.00% 4 Missing ⚠️
src/occa/internal/lang/variable.cpp 0.00% 4 Missing ⚠️
include/occa/functional/array.hpp 88.88% 1 Missing ⚠️
src/c/device.cpp 0.00% 1 Missing ⚠️
src/occa/internal/c/types.cpp 80.00% 1 Missing ⚠️
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
@deukhyun-cha deukhyun-cha closed this by deleting the head repository Aug 27, 2024
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.

4 participants