Skip to content

Commit d0ff1ac

Browse files
[SYCL-MLIR] Fix merge
Signed-off-by: Tsang, Whitney <whitney.tsang@intel.com>
1 parent 479c2cc commit d0ff1ac

File tree

3 files changed

+35
-26
lines changed

3 files changed

+35
-26
lines changed

.github/workflows/sycl_linux_build.yml

Lines changed: 32 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ on:
3838
changes:
3939
type: string
4040
description: 'Filter matches for the changed files in the PR'
41-
default: '[llvm, clang, sycl, llvm_spirv, xptifw, libclc, libdevice]'
41+
default: '[mlir_sycl, polygeist, cgeist, clang]'
4242
required: false
4343
merge_ref:
4444
description: |
@@ -150,6 +150,7 @@ jobs:
150150
ref: ${{ inputs.build_ref || github.sha }}
151151
merge_ref: ${{ inputs.merge_ref }}
152152
cache_path: "/__w/repo_cache/"
153+
default_branch: sycl-mlir
153154
- name: Configure
154155
env:
155156
CC: ${{ inputs.cc }}
@@ -170,38 +171,43 @@ jobs:
170171
- name: Compile
171172
id: build
172173
run: cmake --build $GITHUB_WORKSPACE/build
173-
- name: check-llvm
174-
if: always() && !cancelled() && contains(inputs.changes, 'llvm')
174+
- name: mlir-sycl-doc
175+
if: always() && !cancelled() && contains(inputs.changes, 'mlir_sycl')
175176
run: |
176-
cmake --build $GITHUB_WORKSPACE/build --target check-llvm
177-
- name: check-clang
178-
if: always() && !cancelled() && contains(inputs.changes, 'clang')
177+
cmake --build $GITHUB_WORKSPACE/build --target mlir-sycl-doc
178+
- name: polygeist-doc
179+
if: always() && !cancelled() && contains(inputs.changes, 'polygeist')
179180
run: |
180-
# Can we move this to Dockerfile? Hopefully, noop on Windows.
181-
export XDG_CACHE_HOME=$GITHUB_WORKSPACE/os_cache
182-
cmake --build $GITHUB_WORKSPACE/build --target check-clang
183-
- name: check-sycl
184-
if: always() && !cancelled() && contains(inputs.changes, 'sycl')
181+
cmake --build $GITHUB_WORKSPACE/build --target polygeist-doc
182+
# TODO allow to optionally disable in-tree checks
183+
- name: check-mlir-sycl
184+
shell: bash
185+
if: always() && !cancelled() && contains(inputs.changes, 'mlir_sycl')
185186
run: |
186-
# TODO consider moving this to Dockerfile.
187-
export LD_LIBRARY_PATH=/usr/local/cuda/compat/:/usr/local/cuda/lib64:$LD_LIBRARY_PATH
188-
cmake --build $GITHUB_WORKSPACE/build --target check-sycl
189-
- name: check-llvm-spirv
190-
if: always() && !cancelled() && contains(inputs.changes, 'llvm_spirv')
187+
cmake --build $GITHUB_WORKSPACE/build --target check-mlir-sycl
188+
- name: check-polygeist
189+
shell: bash
190+
if: always() && !cancelled() && contains(inputs.changes, 'polygeist')
191191
run: |
192-
cmake --build $GITHUB_WORKSPACE/build --target check-llvm-spirv
193-
- name: check-xptifw
194-
if: always() && !cancelled() && contains(inputs.changes, 'xptifw')
192+
cmake --build $GITHUB_WORKSPACE/build --target check-polygeist
193+
- name: check-polygeist-unit
194+
shell: bash
195+
if: always() && !cancelled() && contains(inputs.changes, 'polygeist')
195196
run: |
196-
cmake --build $GITHUB_WORKSPACE/build --target check-xptifw
197-
- name: check-libclc
198-
if: always() && !cancelled() && contains(inputs.changes, 'libclc')
197+
cmake --build $GITHUB_WORKSPACE/build --target check-polygeist-unit
198+
- name: check-cgeist
199+
shell: bash
200+
if: always() && !cancelled() && contains(inputs.changes, 'cgeist')
199201
run: |
200-
cmake --build $GITHUB_WORKSPACE/build --target check-libclc
201-
- name: check-libdevice
202-
if: always() && !cancelled() && contains(inputs.changes, 'libdevice')
202+
if [ -e /runtimes/oneapi-tbb/env/vars.sh ]; then
203+
source /runtimes/oneapi-tbb/env/vars.sh;
204+
fi
205+
cmake --build $GITHUB_WORKSPACE/build --target check-cgeist
206+
- name: check-clang-driver
207+
shell: bash
208+
if: always() && !cancelled() && contains(inputs.changes, 'clang')
203209
run: |
204-
cmake --build $GITHUB_WORKSPACE/build --target check-libdevice
210+
cmake --build $GITHUB_WORKSPACE/build --target check-clang-driver
205211
- name: Install
206212
if: ${{ always() && !cancelled() && steps.build.conclusion == 'success' }}
207213
# TODO replace utility installation with a single CMake target

.github/workflows/sycl_precommit_aws.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ on:
1313
workflows: [SYCL Pre Commit on Linux]
1414
types:
1515
- completed
16+
branches-ignore:
17+
- sycl-mlir
1618

1719
jobs:
1820
create-check:

sycl/test-e2e/xfail_tests.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,7 @@ NonUniformGroups/tangle_group.cpp
450450
NonUniformGroups/tangle_group_algorithms.cpp
451451
OptionalKernelFeatures/is_compatible.cpp
452452
OptionalKernelFeatures/is_compatible/is_compatible_with_aspects.cpp
453+
OptionalKernelFeatures/no-fp64-optimization-declared-aspects.cpp
453454
OptionalKernelFeatures/throw-exception-for-unsupported-aspect.cpp
454455
Plugin/interop-level-zero-buffer-multi-dim.cpp
455456
Plugin/interop-level-zero-image-get-native-mem.cpp

0 commit comments

Comments
 (0)