Skip to content

Commit

Permalink
Implemented GPU OpenCL runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreyPavlenko committed Sep 25, 2024
1 parent 6e13abe commit 4efc410
Show file tree
Hide file tree
Showing 19 changed files with 1,650 additions and 44 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/clang-tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

steps:
- name: Install OpenMP
run: "sudo apt install -y libomp-dev"
run: "sudo apt install -y libomp-dev opencl-c-headers"

- name: Fetch sources
uses: actions/checkout@v4
Expand Down
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,15 @@ get_property(GC_TOOLS GLOBAL PROPERTY GC_TOOLS)
get_property(GC_MLIR_LIBS GLOBAL PROPERTY GC_MLIR_LIBS)
get_property(GC_PASS_LIBS GLOBAL PROPERTY GC_PASS_LIBS)
get_property(GC_DIALECT_LIBS GLOBAL PROPERTY GC_DIALECT_LIBS)
get_property(IMEX_LIBS GLOBAL PROPERTY IMEX_LIBS)

install(TARGETS
GcInterface
${GC_TOOLS}
${GC_MLIR_LIBS}
${GC_PASS_LIBS}
${GC_DIALECT_LIBS}
${IMEX_LIBS}
EXPORT ${PROJECT_NAME}Targets
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
Expand Down
1 change: 1 addition & 0 deletions cmake/imex.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ if (NOT DEFINED IMEX_INCLUDES)
${imex_SOURCE_DIR}/src
)
set_property(GLOBAL PROPERTY IMEX_INCLUDES ${IMEX_INCLUDES})
target_compile_options(GcInterface INTERFACE -DGC_USE_IMEX)
endif ()
Loading

0 comments on commit 4efc410

Please sign in to comment.