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

[Lang] Add statementArray methods and switch over CUDA #404

Merged
merged 1 commit into from
Oct 24, 2020

Conversation

dmed256
Copy link
Member

@dmed256 dmed256 commented Oct 4, 2020

Description

  • Adds statementArray to make code transformation cleaner and safer
  • Moves logic for fetching inner statements to statement_t
  • Moves logic for fetching and replacing exprNodes to statement_t

@dmed256 dmed256 force-pushed the lang/clean-up-transformation-api branch from a9d90df to a2e86b3 Compare October 4, 2020 20:43
@codecov
Copy link

codecov bot commented Oct 4, 2020

Codecov Report

Merging #404 into main will decrease coverage by 0.61%.
The diff coverage is 81.49%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #404      +/-   ##
==========================================
- Coverage   77.11%   76.50%   -0.62%     
==========================================
  Files         239      238       -1     
  Lines       18392    18306      -86     
==========================================
- Hits        14183    14005     -178     
- Misses       4209     4301      +92     
Impacted Files Coverage Δ
include/occa/lang/statement/statement.hpp 100.00% <ø> (ø)
src/core/kernel.cpp 89.67% <ø> (ø)
src/lang/builtins/attributes/barrier.cpp 21.05% <0.00%> (ø)
src/lang/builtins/attributes/globalPtr.cpp 26.66% <0.00%> (ø)
src/lang/builtins/attributes/implicitArg.cpp 30.76% <0.00%> (ø)
src/lang/type/function.cpp 38.59% <0.00%> (-11.41%) ⬇️
src/tools/sys.cpp 65.14% <0.00%> (-0.16%) ⬇️
src/lang/modes/serial.cpp 41.78% <16.07%> (-15.19%) ⬇️
src/lang/statement/elifStatement.cpp 45.16% <45.16%> (ø)
src/lang/variable.cpp 68.29% <64.28%> (-2.58%) ⬇️
... and 58 more

@dmed256 dmed256 force-pushed the lang/clean-up-transformation-api branch 3 times, most recently from 0c60987 to b417a9a Compare October 5, 2020 12:30
@dmed256 dmed256 marked this pull request as draft October 10, 2020 21:31
@dmed256 dmed256 force-pushed the lang/clean-up-transformation-api branch 3 times, most recently from 401ac11 to 8f07cf8 Compare October 13, 2020 00:18
@dmed256 dmed256 force-pushed the lang/clean-up-transformation-api branch 14 times, most recently from 643c597 to 6c59d42 Compare October 23, 2020 23:35
@dmed256 dmed256 force-pushed the lang/clean-up-transformation-api branch from 6c59d42 to 6c0443e Compare October 23, 2020 23:39
@dmed256 dmed256 marked this pull request as ready for review October 23, 2020 23:39
@dmed256
Copy link
Member Author

dmed256 commented Oct 24, 2020

Tested locally + on libP (Thank you @tcew!)

@dmed256 dmed256 merged commit 3aa5fd5 into main Oct 24, 2020
@dmed256 dmed256 deleted the lang/clean-up-transformation-api branch October 24, 2020 14:11
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.

1 participant