From d953efdbdb396932582a3d85d38e191cbfe5b8d4 Mon Sep 17 00:00:00 2001 From: PietroGhg Date: Mon, 18 Mar 2024 11:28:24 +0000 Subject: [PATCH 1/3] Enable Native CPU without OCK on linux build --- .github/workflows/sycl-linux-build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sycl-linux-build.yml b/.github/workflows/sycl-linux-build.yml index 6c64e0c56c409..dd00481bf55d7 100644 --- a/.github/workflows/sycl-linux-build.yml +++ b/.github/workflows/sycl-linux-build.yml @@ -28,7 +28,7 @@ on: build_configure_extra_args: type: string required: false - default: "--hip --cuda" + default: "--hip --cuda --native_cpu" build_artifact_suffix: type: string required: true @@ -82,7 +82,7 @@ on: build_configure_extra_args: type: choice options: - - "--hip --cuda" + - "--hip --cuda --native_cpu" # Cache properties need to match CC/CXX/CMake opts. Any additional choices # would need extra care. build_cache_root: @@ -166,6 +166,7 @@ jobs: --cmake-opt=-DCMAKE_C_COMPILER_LAUNCHER=ccache \ --cmake-opt=-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \ --cmake-opt="-DLLVM_INSTALL_UTILS=ON" \ + --cmake-opt="-DNATIVECPU_USE_OCK=Off" \ --cmake-opt="-DSYCL_PI_TESTS=OFF" - name: Compile id: build From b58bdf9b95d1c6da18faf644d7f75eb78e37ee96 Mon Sep 17 00:00:00 2001 From: PietroGhg Date: Mon, 18 Mar 2024 16:43:25 +0000 Subject: [PATCH 2/3] Enable native cpu on linux post commit build --- .github/workflows/sycl-post-commit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sycl-post-commit.yml b/.github/workflows/sycl-post-commit.yml index aaf36263a93a9..d57752dfa1d27 100644 --- a/.github/workflows/sycl-post-commit.yml +++ b/.github/workflows/sycl-post-commit.yml @@ -28,7 +28,7 @@ jobs: build_cache_root: "/__w/llvm" build_cache_suffix: sprod_shared build_artifact_suffix: sprod_shared - build_configure_extra_args: --shared-libs --no-assertions --hip --cuda --cmake-opt="-DSYCL_ENABLE_STACK_PRINTING=ON" --cmake-opt="-DSYCL_LIB_WITH_DEBUG_SYMBOL=ON" + build_configure_extra_args: --shared-libs --no-assertions --hip --cuda --native_cpu --cmake-opt="-DSYCL_ENABLE_STACK_PRINTING=ON" --cmake-opt="-DSYCL_LIB_WITH_DEBUG_SYMBOL=ON" # Docker image has last nightly pre-installed and added to the PATH build_image: "ghcr.io/intel/llvm/sycl_ubuntu2204_nightly:build" cc: clang From 9b354cd81dcdb47c9cce4759f0abd3a3537a595c Mon Sep 17 00:00:00 2001 From: PietroGhg Date: Mon, 8 Apr 2024 12:11:09 +0100 Subject: [PATCH 3/3] Mark reduce_over_sub_group XFAIL on native cpu --- .../PerformanceTests/Reduction/reduce_over_sub_group.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/sycl/test-e2e/PerformanceTests/Reduction/reduce_over_sub_group.cpp b/sycl/test-e2e/PerformanceTests/Reduction/reduce_over_sub_group.cpp index 173528875b1fe..a9714bcd7744e 100644 --- a/sycl/test-e2e/PerformanceTests/Reduction/reduce_over_sub_group.cpp +++ b/sycl/test-e2e/PerformanceTests/Reduction/reduce_over_sub_group.cpp @@ -1,3 +1,4 @@ +// XFAIL: native_cpu // RUN: %{build} -o %t.out // RUN: %{run} %t.out