Skip to content

Commit

Permalink
fix Intel flags
Browse files Browse the repository at this point in the history
  • Loading branch information
upsj committed Feb 14, 2024
1 parent a7fc48f commit d7dedd6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/intel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
spack find --loaded
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=install_ginkgo -DGINKGO_COMPILER_FLAGS="-Wpedantic;-ffp-model=precise" -DCMAKE_CXX_COMPILER=${{ matrix.config.compiler }} -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }} -DGINKGO_MIXED_PRECISION=${{ matrix.config.mixed }} -DGINKGO_DPCPP_SINGLE_MODE=ON
cmake .. -DCMAKE_INSTALL_PREFIX=install_ginkgo -DCMAKE_CXX_FLAGS="-Wpedantic -ffp-model=precise" -DCMAKE_CXX_COMPILER=${{ matrix.config.compiler }} -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }} -DGINKGO_MIXED_PRECISION=${{ matrix.config.mixed }} -DGINKGO_DPCPP_SINGLE_MODE=ON
make -j8
ONEAPI_DEVICE_SELECTOR=level_zero:gpu ctest -j10 --output-on-failure
Expand Down
11 changes: 6 additions & 5 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ build/dpcpp/2022-1/cpu/release/shared:
- .use_gko-oneapi-cpu
variables:
CXX_COMPILER: "dpcpp"
CXX_FLAGS: "-Wpedantic;-ffp-model=precise"
CXX_FLAGS: "-Wpedantic -ffp-model=precise"
BUILD_SYCL: "ON"
BUILD_TYPE: "Release"
BUILD_SHARED_LIBS: "ON"
Expand All @@ -602,7 +602,7 @@ build/dpcpp/igpu/release/shared:
- .use_gko-oneapi-igpu
variables:
CXX_COMPILER: "dpcpp"
CXX_FLAGS: "-Wpedantic;-ffp-model=precise"
CXX_FLAGS: "-Wpedantic -ffp-model=precise"
BUILD_SYCL: "ON"
BUILD_TYPE: "Release"
BUILD_SHARED_LIBS: "ON"
Expand All @@ -619,7 +619,7 @@ build/dpcpp/igpu/release/shared:
# - .use_gko-oneapi-igpu
# variables:
# CXX_COMPILER: "dpcpp"
# CXX_FLAGS: "-Wpedantic;-ffp-model=precise"
# CXX_FLAGS: "-Wpedantic -ffp-model=precise"
# BUILD_SYCL: "ON"
# BUILD_TYPE: "Debug"
# BUILD_SHARED_LIBS: "ON"
Expand All @@ -635,7 +635,7 @@ build/dpcpp/dgpu/release/static:
- .use_gko-oneapi-igpu
variables:
CXX_COMPILER: "dpcpp"
CXX_FLAGS: "-Wpedantic;-ffp-model=precise"
CXX_FLAGS: "-Wpedantic -ffp-model=precise"
BUILD_SYCL: "ON"
BUILD_TYPE: "Release"
BUILD_SHARED_LIBS: "OF"
Expand All @@ -651,7 +651,7 @@ build/dpcpp/level_zero_dgpu/release/shared:
- .use_gko-oneapi-dgpu
variables:
CXX_COMPILER: "dpcpp"
CXX_FLAGS: "-Wpedantic;-ffp-model=precise"
CXX_FLAGS: "-Wpedantic -ffp-model=precise"
BUILD_SYCL: "ON"
BUILD_TYPE: "Release"
DPCPP_SINGLE_MODE: "ON"
Expand All @@ -666,6 +666,7 @@ build/icpx/level_zero_dgpu/release/shared:
- .use_gko-oneapi-dgpu
variables:
CXX_COMPILER: "icpx"
CXX_FLAGS: "-Wpedantic -ffp-model=precise"
BUILD_SYCL: "ON"
BUILD_TYPE: "Release"
DPCPP_SINGLE_MODE: "ON"
Expand Down

0 comments on commit d7dedd6

Please sign in to comment.