Skip to content

Commit

Permalink
Review update.
Browse files Browse the repository at this point in the history
Co-authored-by: Yuhsiang Tsai <yhmtsai@gmail.com>
  • Loading branch information
tcojean and yhmtsai committed Apr 12, 2021
1 parent c7c0f49 commit 1813652
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
25 changes: 23 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -684,9 +684,30 @@ build/nocuda/intel/omp/release/static:
- cuda
- cpu


build/dpcpp/cpu/release/static:
<<: *default_build_with_test
image: localhost:5000/gko-oneapi-igpu
variables:
<<: *default_variables
C_COMPILER: "gcc"
CXX_COMPILER: "dpcpp"
BUILD_DPCPP: "ON"
BUILD_TYPE: "Release"
BUILD_SHARED_LIBS: "ON"
SYCL_DEVICE_FILTER: "CPU"
only:
variables:
- $RUN_CI_TAG
tags:
- private_ci
- intel
- igpu


build/dpcpp/igpu/release/static:
<<: *default_build_with_test
image: localhost:5000/gko-oneapi
image: localhost:5000/gko-oneapi-igpu
variables:
<<: *default_variables
C_COMPILER: "gcc"
Expand All @@ -706,7 +727,7 @@ build/dpcpp/igpu/release/static:

build/dpcpp/dgpu/debug/shared:
<<: *default_build_with_test
image: localhost:5000/gko-oneapi
image: localhost:5000/gko-oneapi-dgpu
variables:
<<: *default_variables
C_COMPILER: "gcc"
Expand Down
1 change: 1 addition & 0 deletions dpcpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ set(GINKGO_DPCPP_FLAGS ${GINKGO_DPCPP_FLAGS} PARENT_SCOPE)
target_compile_options(ginkgo_dpcpp PRIVATE "${GINKGO_DPCPP_FLAGS}")
target_compile_features(ginkgo_dpcpp PRIVATE cxx_std_17)
target_link_options(ginkgo_dpcpp PRIVATE -fsycl-device-lib=all)
target_link_options(ginkgo_dpcpp PRIVATE -fsycl-device-code-split=per_kernel)
target_link_libraries(ginkgo_dpcpp PUBLIC ginkgo_device)
if (GINKGO_DPCPP_SINGLE_MODE)
target_compile_definitions(ginkgo_dpcpp PRIVATE GINKGO_DPCPP_SINGLE_MODE=1)
Expand Down

0 comments on commit 1813652

Please sign in to comment.