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

Prerelease/v1.6 #696

Merged
merged 34 commits into from
Sep 12, 2023
Merged

Prerelease/v1.6 #696

merged 34 commits into from
Sep 12, 2023

Conversation

kris-rowe
Copy link
Member

Description

A staging branch for testing ahead of the next release

kris-rowe and others added 19 commits March 6, 2023 18:08
* fixed CMake whitespace issue (#673)

* Replace CMAKE_SOURCE_DIR by OCCA_SOURCE_DIR

Using CMAKE_SOURCE_DIR prevents OCCA being nested in another
project using `add_subdirectory`.

---------

Co-authored-by: Ben Wibking <[email protected]>
@codecov
Copy link

codecov bot commented Jul 21, 2023

Codecov Report

Merging #696 (ca1d640) into main (ef5218f) will decrease coverage by 1.04%.
The diff coverage is 47.13%.

❗ Current head ca1d640 differs from pull request most recent head 3ae29c4. Consider uploading reports for the commit 3ae29c4 to get more accurate results

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #696      +/-   ##
==========================================
- Coverage   76.30%   75.27%   -1.04%     
==========================================
  Files         291      297       +6     
  Lines       18779    19327     +548     
==========================================
+ Hits        14330    14548     +218     
- Misses       4449     4779     +330     
Files Changed Coverage Δ
include/occa/dtype/dtype.hpp 0.00% <0.00%> (ø)
src/c/base.cpp 85.71% <0.00%> (-1.79%) ⬇️
src/c/device.cpp 87.87% <0.00%> (-1.36%) ⬇️
src/core/base.cpp 70.65% <ø> (ø)
src/core/device.cpp 88.67% <0.00%> (-1.77%) ⬇️
src/occa/internal/core/device.hpp 100.00% <ø> (ø)
src/occa/internal/core/launchedDevice.cpp 0.00% <0.00%> (ø)
src/occa/internal/lang/type/typedef.cpp 70.37% <ø> (+6.08%) ⬆️
src/occa/internal/utils/env.cpp 82.89% <ø> (ø)
src/occa/internal/utils/gc.tpp 100.00% <ø> (ø)
... and 19 more

... and 10 files with indirect coverage changes

We make sure that structs come before tuples,
in order to keep cleanliness for later additions.
We add support for (typedef) enums by extending lang/type/enum.(cpp|hpp)
adding lang/loaders/enumLoader.(cpp|hpp) and lang/enumerator.(cpp|hpp)
We add the necessary tests to ensure that (typedef) enums
can be parsed and loaded by OCCA.
Only the most basic tests with int,float,etc, work.
We add the necessary tests to ensure that (typedef) unions
can be parsed and loaded by OCCA.
@kris-rowe kris-rowe merged commit 48f1d63 into main Sep 12, 2023
13 of 14 checks passed
@kris-rowe kris-rowe deleted the prerelease/v1.6 branch September 12, 2023 18:56
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.

8 participants