Skip to content

Commit 77703e6

Browse files
Merge branch 'oneapi-src:main' into counter-based-3
2 parents 3868675 + 1f13d2c commit 77703e6

File tree

89 files changed

+3066
-1092
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+3066
-1092
lines changed

.github/docker/install_dpcpp.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ if [ "${SKIP_DPCPP_BUILD}" ]; then
1616
fi
1717

1818
mkdir -p ${DPCPP_PATH}/dpcpp_compiler
19-
wget -O ${DPCPP_PATH}/dpcpp_compiler.tar.gz https://github.com/intel/llvm/releases/download/nightly-2024-01-29/sycl_linux.tar.gz
19+
wget -O ${DPCPP_PATH}/dpcpp_compiler.tar.gz https://github.com/intel/llvm/releases/download/nightly-2024-09-27/sycl_linux.tar.gz
2020
tar -xvf ${DPCPP_PATH}/dpcpp_compiler.tar.gz -C ${DPCPP_PATH}/dpcpp_compiler

.github/workflows/cmake.yml

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- name: Install apt packages
5050
run: |
5151
sudo apt-get update
52-
sudo apt-get install -y doxygen ${{matrix.compiler.c}}
52+
sudo apt-get install -y ${{matrix.compiler.c}}
5353
5454
- name: Install libhwloc
5555
run: .github/scripts/install_hwloc.sh
@@ -62,9 +62,6 @@ jobs:
6262
run: |
6363
sudo apt-get install -y ${{matrix.compiler.cxx}}
6464
65-
- name: Install pip packages
66-
run: pip install -r third_party/requirements.txt
67-
6865
- name: Install libbacktrace
6966
if: matrix.libbacktrace == '-DVAL_USE_LIBBACKTRACE_BACKTRACE=ON'
7067
run: |
@@ -79,7 +76,7 @@ jobs:
7976
if: matrix.os == 'ubuntu-22.04'
8077
run: |
8178
sudo apt install libncurses5
82-
wget -O ${{github.workspace}}/dpcpp_compiler.tar.gz https://github.com/intel/llvm/releases/download/nightly-2024-01-29/sycl_linux.tar.gz
79+
wget -O ${{github.workspace}}/dpcpp_compiler.tar.gz https://github.com/intel/llvm/releases/download/nightly-2024-09-27/sycl_linux.tar.gz
8380
mkdir -p ${{github.workspace}}/dpcpp_compiler
8481
tar -xvf ${{github.workspace}}/dpcpp_compiler.tar.gz -C ${{github.workspace}}/dpcpp_compiler
8582
@@ -93,7 +90,7 @@ jobs:
9390
-DUR_ENABLE_TRACING=ON
9491
-DCMAKE_BUILD_TYPE=${{matrix.build_type}}
9592
-DUR_BUILD_TESTS=ON
96-
-DUR_FORMAT_CPP_STYLE=ON
93+
-DUR_FORMAT_CPP_STYLE=OFF
9794
-DUR_DPCXX=${{github.workspace}}/dpcpp_compiler/bin/clang++
9895
${{matrix.libbacktrace}}
9996
${{matrix.pool_tracking}}
@@ -109,18 +106,11 @@ jobs:
109106
-DUR_ENABLE_TRACING=ON
110107
-DCMAKE_BUILD_TYPE=${{matrix.build_type}}
111108
-DUR_BUILD_TESTS=ON
112-
-DUR_FORMAT_CPP_STYLE=ON
109+
-DUR_FORMAT_CPP_STYLE=OFF
113110
${{matrix.libbacktrace}}
114111
${{matrix.pool_tracking}}
115112
${{matrix.latency_tracking}}
116113
117-
- name: Generate source from spec, check for uncommitted diff
118-
if: matrix.os == 'ubuntu-22.04'
119-
run: cmake --build ${{github.workspace}}/build --target check-generated
120-
121-
- name: Verify that each source file contains a license
122-
run: cmake --build ${{github.workspace}}/build --target verify-licenses
123-
124114
- name: Build
125115
run: cmake --build ${{github.workspace}}/build -j $(nproc)
126116

@@ -285,11 +275,6 @@ jobs:
285275
-DUR_FORMAT_CPP_STYLE=ON
286276
${{matrix.adapter.var}}
287277
288-
# TODO: re-enable when check-generated is fixed for windows runners see #888
289-
# - name: Generate source from spec, check for uncommitted diff
290-
# if: matrix.os == 'windows-2022'
291-
# run: cmake --build ${{github.workspace}}/build --target check-generated --config ${{matrix.build_type}}
292-
293278
- name: Build all
294279
run: cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}} -j $Env:NUMBER_OF_PROCESSORS
295280

.github/workflows/e2e_level_zero.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
config: ""
2222
unit: "gpu"
2323
# Failing tests
24-
xfail: "DeviceCodeSplit/grf.cpp;ESIMD/mask_expand_load.cpp;KernelAndProgram/target_register_alloc_mode.cpp;Matrix/SG32/get_coord_int8_matB.cpp;Matrix/get_coord_int8_matB.cpp;Matrix/joint_matrix_prefetch.cpp;Matrix/joint_matrix_rowmajorA_rowmajorB.cpp;ESIMD/mask_expand_load.cpp;Matrix/SPVCooperativeMatrix/joint_matrix_bf16_fill_k_cache_OOB.cpp;Matrix/SPVCooperativeMatrix/joint_matrix_out_bounds.cpp;Matrix/SPVCooperativeMatrix/joint_matrix_prefetch.cpp;Matrix/SPVCooperativeMatrix/joint_matrix_rowmajorA_rowmajorB.cpp;Matrix/element_wise_all_ops_1d.cpp;Matrix/element_wise_all_ops_1d_cont.cpp;Matrix/element_wise_all_ops_scalar.cpp;Matrix/joint_matrix_bf16_fill_k_cache_OOB.cpp;Matrix/joint_matrix_bf16_fill_k_cache_prefetch.cpp;Matrix/joint_matrix_out_bounds.cpp;Matrix/joint_matrix_unaligned_k.cpp;Matrix/SPVCooperativeMatrix/SG32/get_coord_int8_matB.cpp;Matrix/SPVCooperativeMatrix/element_wise_all_ops_1d.cpp;Matrix/SPVCooperativeMatrix/element_wise_all_ops_1d_cont.cpp;Matrix/SPVCooperativeMatrix/element_wise_all_ops_scalar.cpp;Matrix/SPVCooperativeMatrix/element_wise_ops.cpp;Matrix/SPVCooperativeMatrix/get_coord_int8_matB.cpp;Matrix/SPVCooperativeMatrix/joint_matrix_bf16_fill_k_cache_SLM.cpp;Matrix/joint_matrix_bf16_fill_k_cache_SLM.cpp"
24+
xfail: "InvokeSimd/Regression/call_vadd_1d_spill.cpp;InvokeSimd/Regression/ImplicitSubgroup/call_vadd_1d_spill.cpp;DeviceCodeSplit/grf.cpp;ESIMD/mask_expand_load.cpp;KernelAndProgram/target_register_alloc_mode.cpp;Matrix/joint_matrix_prefetch.cpp;ESIMD/mask_expand_load.cpp;Matrix/SPVCooperativeMatrix/joint_matrix_prefetch.cpp;Matrix/joint_matrix_bf16_fill_k_cache_prefetch.cpp;Matrix/SPVCooperativeMatrix/element_wise_ops.cpp;"
2525
# Unexpectedly Passed Tests
2626
xfail_not: ""
2727
# Flaky tests

.github/workflows/multi_device.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,11 @@ jobs:
3030
- name: Install pip packages
3131
run: pip install -r third_party/requirements.txt
3232

33-
# TODO: enable once test failure are fixed/ignored
34-
# - name: Download DPC++
35-
# run: |
36-
# wget -O ${{github.workspace}}/dpcpp_compiler.tar.gz https://github.com/intel/llvm/releases/download/nightly-2024-01-29/sycl_linux.tar.gz
37-
# mkdir dpcpp_compiler
38-
# tar -xvf ${{github.workspace}}/dpcpp_compiler.tar.gz -C dpcpp_compiler
33+
- name: Download DPC++
34+
run: |
35+
wget -O ${{github.workspace}}/dpcpp_compiler.tar.gz https://github.com/intel/llvm/releases/download/nightly-2024-01-29/sycl_linux.tar.gz
36+
mkdir dpcpp_compiler
37+
tar -xvf ${{github.workspace}}/dpcpp_compiler.tar.gz -C dpcpp_compiler
3938
4039
- name: Configure CMake
4140
shell: bash -el {0}
@@ -49,6 +48,8 @@ jobs:
4948
-DUR_BUILD_TESTS=ON
5049
-DUR_BUILD_ADAPTER_${{matrix.adapter.name}}=ON
5150
-DUR_TEST_DEVICES_COUNT=2
51+
-DUR_DPCXX=${{github.workspace}}/dpcpp_compiler/bin/clang++
52+
-DUR_SYCL_LIBRARY_DIR=${{github.workspace}}/dpcpp_compiler/lib
5253
5354
- name: Build
5455
run: cmake --build ${{github.workspace}}/build -j $(nproc)
@@ -60,4 +61,4 @@ jobs:
6061

6162
- name: Test adapters
6263
working-directory: ${{github.workspace}}/build
63-
run: env UR_CTS_ADAPTER_PLATFORM="${{matrix.adapter.platform}}" ctest -C ${{matrix.build_type}} --output-on-failure -L "conformance" --timeout 180
64+
run: env UR_CTS_ADAPTER_PLATFORM="${{matrix.adapter.platform}}" ctest -C ${{matrix.build_type}} --output-on-failure -L "conformance" -E "enqueue|kernel|program|integration|exp_command_buffer|exp_enqueue_native|exp_launch_properties|exp_usm_p2p" --timeout 180
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Source Checks
2+
3+
on: [push, pull_request]
4+
5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
7+
cancel-in-progress: true
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
source-checks:
14+
name: Source Checks
15+
# TODO: Make this run on Windows (#888)
16+
runs-on: 'ubuntu-22.04'
17+
18+
steps:
19+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
20+
21+
- name: Install apt packages
22+
run: |
23+
sudo apt-get update
24+
sudo apt-get install -y doxygen
25+
26+
- name: Setup PATH
27+
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
28+
29+
- name: Install pip packages
30+
run: pip install -r third_party/requirements.txt
31+
32+
# Required for CMake
33+
- name: Install libhwloc
34+
run: .github/scripts/install_hwloc.sh
35+
36+
- name: Configure CMake
37+
run: >
38+
cmake
39+
-B${{github.workspace}}/build
40+
-DUR_ENABLE_TRACING=OFF
41+
-DCMAKE_BUILD_TYPE=Debug
42+
-DUR_BUILD_TESTS=OFF
43+
-DUR_FORMAT_CPP_STYLE=ON
44+
45+
- name: Verify that each source file contains a license
46+
run: cmake --build ${{github.workspace}}/build --target verify-licenses
47+
48+
- name: Generate source from spec, check for uncommitted diff
49+
run: cmake --build ${{github.workspace}}/build --target check-generated

0 commit comments

Comments
 (0)