Skip to content

Conversation

@dmed256
Copy link
Member

@dmed256 dmed256 commented Apr 6, 2020

Description

Work based on #306 (Thanks @amikstcyr 🎉)

  • Adds additional properties to kernels:
    • Adds compiler_language option ('C' or 'C++' (default))
    • Changes linker_flags -> compiler_linker_flags for naming consistency
    • Adds compiler_shared_flags which can be passed with OCCA_COMPILER_SHARED_FLAGS environment variable
  • Adds 12_native_c_kernels example
  • Fixes failing tests
  • Adds proper Intel OpenMP flag
  • Fixes occa::array offsets

@codecov
Copy link

codecov bot commented Apr 6, 2020

Codecov Report

❗ No coverage uploaded for pull request base (master@ac5a352). Click here to learn what that means.
The diff coverage is 61.29%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #308   +/-   ##
=========================================
  Coverage          ?   70.92%           
=========================================
  Files             ?      282           
  Lines             ?    19470           
  Branches          ?        0           
=========================================
  Hits              ?    13810           
  Misses            ?     5660           
  Partials          ?        0
Impacted Files Coverage Δ
src/lang/preprocessor.cpp 71.84% <ø> (ø)
include/occa/tools/sys.hpp 0% <ø> (ø)
src/core/launchedDevice.cpp 0% <0%> (ø)
src/lang/modes/withLauncher.cpp 0% <0%> (ø)
src/modes/openmp/utils.cpp 66.66% <0%> (ø)
bin/occa.cpp 38.46% <0%> (ø)
src/io/utils.cpp 99.4% <100%> (ø)
src/modes/openmp/device.cpp 88.09% <100%> (ø)
src/c/json.cpp 87.61% <100%> (ø)
include/occa/array/array.tpp 100% <100%> (ø)
... and 3 more

@dmed256 dmed256 force-pushed the core/add-support-for-c-native-kernels branch from 9a20cef to 09f7f7e Compare April 6, 2020 04:49
@dmed256 dmed256 force-pushed the core/add-support-for-c-native-kernels branch from 3663162 to 348d97d Compare April 6, 2020 05:18
@dmed256 dmed256 merged commit 8dd02e7 into master Apr 6, 2020
@dmed256 dmed256 deleted the core/add-support-for-c-native-kernels branch April 6, 2020 06:25
@dmed256 dmed256 mentioned this pull request Apr 6, 2020
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.

2 participants