Skip to content

Commit 6e32c41

Browse files
committed
Merge remote-tracking branch 'origin/sycl' into addc
2 parents 1a3e5f6 + e664798 commit 6e32c41

File tree

933 files changed

+24043
-42354
lines changed

Some content is hidden

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

933 files changed

+24043
-42354
lines changed

.github/CODEOWNERS

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -34,25 +34,18 @@ sycl/doc/design/ @intel/llvm-reviewers-runtime
3434
sycl/doc/design/spirv-extensions/ @intel/dpcpp-spirv-doc-reviewers
3535
sycl/doc/extensions/ @intel/dpcpp-specification-reviewers
3636

37-
# Unified Runtime
38-
sycl/plugins @intel/unified-runtime-reviewers
37+
# Unified Runtime
38+
sycl/cmake/modules/FetchUnifiedRuntime.cmake @intel/unified-runtime-reviewers
39+
sycl/include/sycl/detail/ur.hpp @intel/unified-runtime-reviewers
40+
sycl/source/detail/posix_ur.cpp @intel/unified-runtime-reviewers
41+
sycl/source/detail/ur.cpp @intel/unified-runtime-reviewers
42+
sycl/source/detail/windows_ur.cpp @intel/unified-runtime-reviewers
3943
sycl/test-e2e/Plugin/ @intel/unified-runtime-reviewers
4044

4145
# Win Proxy Loader
4246
sycl/pi_win_proxy_loader @intel/llvm-reviewers-runtime
43-
sycl/plugins/common_win_pi_trace @intel/llvm-reviewers-runtime
4447
sycl/test-e2e/Plugin/dll-detach-order.cpp @intel/llvm-reviewers-runtime
4548

46-
# CUDA and HIP plugins
47-
sycl/plugins/**/cuda/ @intel/llvm-reviewers-cuda
48-
sycl/plugins/**/hip/ @intel/llvm-reviewers-cuda
49-
50-
# Transform Dialect in MLIR.
51-
/mlir/include/mlir/Dialect/Transform/* @ftynse @nicolasvasilache
52-
/mlir/lib/Dialect/Transform/* @ftynse @nicolasvasilache
53-
/mlir/**/*TransformOps* @ftynse @nicolasvasilache
54-
55-
5649
# CUDA specific runtime implementations
5750
sycl/include/sycl/ext/oneapi/experimental/cuda/ @intel/llvm-reviewers-cuda
5851

@@ -155,7 +148,6 @@ sycl/include/syclcompat.hpp @intel/syclcompat-lib-reviewers
155148
sycl/doc/extensions/experimental/sycl_ext_oneapi_bindless_images.asciidoc @intel/bindless-images-reviewers
156149
sycl/include/sycl/ext/oneapi/bindless* @intel/bindless-images-reviewers
157150
sycl/source/detail/bindless* @intel/bindless-images-reviewers
158-
sycl/plugins/unified_runtime/ur/adapters/**/image.* @intel/bindless-images-reviewers
159151
sycl/test/check_device_code/extensions/bindless_images.cpp @intel/bindless-images-reviewers
160152
sycl/test-e2e/bindless_images/ @intel/bindless-images-reviewers
161153

@@ -166,6 +158,7 @@ sycl/test-e2e/DeviceCodeSplit/ @intel/dpcpp-tools-reviewers
166158
sycl/test-e2e/SeparateCompile/ @intel/dpcpp-tools-reviewers
167159
sycl/test-e2e/Printf/ @intel/dpcpp-tools-reviewers @intel/llvm-reviewers-runtime
168160
sycl/test-e2e/SpecConstants/ @intel/dpcpp-tools-reviewers
161+
sycl/test-e2e/NewOffloadDriver/ @intel/dpcpp-tools-reviewers
169162

170163
# Sanitizer
171164
clang/lib/Driver/SanitizerArgs.cpp @intel/dpcpp-sanitizers-review

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
run: |
112112
sudo apt-get update
113113
# swig and graphviz are lldb specific dependencies
114-
sudo apt-get install -y cmake ninja-build swig graphviz
114+
sudo apt-get install -y cmake ninja-build swig graphviz libhwloc-dev
115115
- name: Build LLVM docs
116116
if: steps.docs-changed-subprojects.outputs.llvm_any_changed == 'true'
117117
run: |

.github/workflows/release-documentation.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ jobs:
4949
graphviz \
5050
python3-github \
5151
ninja-build \
52-
texlive-font-utils
52+
texlive-font-utils \
53+
libhwloc-dev
5354
pip3 install --user -r ./llvm/docs/requirements.txt
5455
5556
- name: Build Documentation

.github/workflows/release-doxygen.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ jobs:
5252
graphviz \
5353
python3-github \
5454
ninja-build \
55-
texlive-font-utils
55+
texlive-font-utils \
56+
libhwloc-dev
5657
pip3 install --user -r ./llvm/docs/requirements.txt
5758
5859
- name: Build Doxygen

.github/workflows/sycl-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
path: repo
2626
- name: Install deps
2727
run: |
28-
sudo apt-get install -y doxygen graphviz ssh ninja-build
28+
sudo apt-get install -y doxygen graphviz ssh ninja-build libhwloc-dev
2929
sudo pip3 install -r repo/llvm/docs/requirements.txt
3030
- name: Build Docs
3131
run: |

.github/workflows/sycl-linux-matrix-e2e-on-nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
runner: '["Linux", "gen12"]'
3030
image: ghcr.io/intel/llvm/sycl_ubuntu2204_nightly:latest
3131
image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN
32-
target_devices: ext_oneapi_level_zero:gpu
32+
target_devices: level_zero:gpu
3333
reset_gpu: true
3434

3535
- name: Intel OCL GPU

.github/workflows/sycl-linux-precommit.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ jobs:
7676
fail-fast: false
7777
matrix:
7878
include:
79+
- name: NVIDIA/CUDA
80+
runner: '["Linux", "cuda"]'
81+
image: ghcr.io/intel/llvm/ubuntu2204_build:latest
82+
image_options: -u 1001 --gpus all --cap-add SYS_ADMIN
83+
target_devices: ext_oneapi_cuda:gpu
7984
- name: AMD/HIP
8085
runner: '["Linux", "amdgpu"]'
8186
image: ghcr.io/intel/llvm/ubuntu2204_build:latest-0300ac924620a51f76c4929794637b82790f12ab
@@ -85,15 +90,15 @@ jobs:
8590
runner: '["Linux", "gen12"]'
8691
image: ghcr.io/intel/llvm/ubuntu2204_intel_drivers:latest
8792
image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN
88-
target_devices: ext_oneapi_level_zero:gpu;opencl:gpu;opencl:cpu
93+
target_devices: level_zero:gpu;opencl:gpu;opencl:cpu
8994
reset_gpu: true
9095
install_drivers: ${{ contains(needs.detect_changes.outputs.filters, 'drivers') }}
9196
extra_lit_opts: --param gpu-intel-gen12=True
9297
- name: E2E tests on Intel Arc A-Series Graphics
9398
runner: '["Linux", "arc"]'
9499
image: ghcr.io/intel/llvm/ubuntu2204_intel_drivers:latest
95100
image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN
96-
target_devices: ext_oneapi_level_zero:gpu;opencl:gpu
101+
target_devices: level_zero:gpu;opencl:gpu
97102
reset_gpu: true
98103
install_drivers: ${{ contains(needs.detect_changes.outputs.filters, 'drivers') }}
99104
extra_lit_opts: --param matrix-xmx8=True --param gpu-intel-dg2=True
@@ -102,7 +107,7 @@ jobs:
102107
runner: '["Linux", "arc"]'
103108
image: ghcr.io/intel/llvm/ubuntu2204_intel_drivers:${{ contains(github.event.pull_request.labels.*.name, 'ci-no-devigc') && 'latest' || 'devigc' }}
104109
image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN
105-
target_devices: ext_oneapi_level_zero:gpu;opencl:gpu
110+
target_devices: level_zero:gpu;opencl:gpu
106111
reset_gpu: true
107112
install_drivers: >-
108113
${{ contains(needs.detect_changes.outputs.filters, 'drivers') ||

.github/workflows/sycl-linux-run-tests.yml

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ on:
105105
- 'opencl:cpu'
106106
- 'opencl:gpu'
107107
- 'opencl:fpga'
108-
- 'ext_oneapi_level_zero:gpu'
108+
- 'level_zero:gpu'
109109
- 'ext_oneapi_hip:gpu'
110110
tests_selector:
111111
type: choice
@@ -261,7 +261,7 @@ jobs:
261261
echo LD_LIBRARY_PATH=$PWD/toolchain/lib/:$LD_LIBRARY_PATH >> $GITHUB_ENV
262262
- run: which clang++ sycl-ls
263263
- run: sycl-ls --verbose
264-
- run: SYCL_PI_TRACE=-1 sycl-ls
264+
- run: SYCL_UR_TRACE=1 sycl-ls
265265
- run: |
266266
if [ -f /usr/local/lib/igc/IGCTAG.txt ]; then
267267
cat /usr/local/lib/igc/IGCTAG.txt
@@ -303,22 +303,34 @@ jobs:
303303
- name: List excluded SYCL CTS categories
304304
if: inputs.tests_selector == 'cts' && env.CTS_TESTS_TO_BUILD == ''
305305
run: |
306-
cat $PWD/devops/cts_exclude_filter
306+
if [ "${{ contains(inputs.target_devices, 'opencl:cpu') }}" = "true" ]; then
307+
cat $PWD/devops/cts_exclude_filter_OCL_CPU
308+
fi
309+
if [ "${{ contains(inputs.target_devices, 'level_zero:gpu') }}" = "true" ]; then
310+
cat $PWD/devops/cts_exclude_filter_L0_GPU
311+
fi
307312
- name: Build SYCL CTS tests
308313
if: inputs.tests_selector == 'cts'
309314
env:
310315
CMAKE_EXTRA_ARGS: ${{ inputs.extra_cmake_args }}
311316
run: |
312317
# Do not exclude any category if passing the CTS_TESTS_TO_BUILD variable.
313-
cts_exclude_filter=$([ -n "$CTS_TESTS_TO_BUILD" ] && echo "" || echo "$PWD/devops/cts_exclude_filter")
318+
cts_exclude_filter=""
319+
if [ -z "$CTS_TESTS_TO_BUILD" ]; then
320+
if [ "${{ contains(inputs.target_devices, 'opencl:cpu') }}" = "true" ]; then
321+
cts_exclude_filter=$PWD/devops/cts_exclude_filter_OCL_CPU
322+
fi
323+
if [ "${{ contains(inputs.target_devices, 'level_zero:gpu') }}" = "true" ]; then
324+
cts_exclude_filter=$PWD/devops/cts_exclude_filter_L0_GPU
325+
fi
326+
fi
314327
315328
cmake -GNinja -B./build-cts -S./khronos_sycl_cts -DCMAKE_CXX_COMPILER=$(which clang++) \
316329
-DSYCL_IMPLEMENTATION=DPCPP \
317330
-DSYCL_CTS_EXCLUDE_TEST_CATEGORIES="$cts_exclude_filter" \
318331
-DSYCL_CTS_ENABLE_OPENCL_INTEROP_TESTS=OFF \
319332
-DSYCL_CTS_MEASURE_BUILD_TIMES=ON \
320333
-DDPCPP_INSTALL_DIR="$(dirname $(which clang++))/.." \
321-
-DCMAKE_CXX_FLAGS="-Wno-missing-template-arg-list-after-template-kw" \
322334
$CMAKE_EXTRA_ARGS
323335
# Ignore errors so that if one category build fails others still have a
324336
# chance to finish and be executed at the run stage. Note that

.github/workflows/sycl-macos-build-and-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
CCACHE_MAXSIZE: ${{ inputs.build_cache_size }}
3131
steps:
3232
- name: Install dependencies
33-
run: brew install ccache ninja
33+
run: brew install ccache ninja hwloc
3434
- uses: actions/checkout@v4
3535
with:
3636
ref: ${{ inputs.build_ref }}

.github/workflows/sycl-nightly.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,18 @@ jobs:
3737
target_devices: ext_oneapi_hip:gpu
3838
tests_selector: e2e
3939

40+
- name: NVIDIA/CUDA
41+
runner: '["Linux", "cuda"]'
42+
image: ghcr.io/intel/llvm/ubuntu2204_build:latest
43+
image_options: -u 1001 --gpus all --cap-add SYS_ADMIN
44+
target_devices: ext_oneapi_cuda:gpu
45+
tests_selector: e2e
46+
4047
- name: Intel L0 GPU
4148
runner: '["Linux", "gen12"]'
4249
image: ghcr.io/intel/llvm/ubuntu2204_intel_drivers:latest
4350
image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN
44-
target_devices: ext_oneapi_level_zero:gpu
51+
target_devices: level_zero:gpu
4552
reset_gpu: true
4653
tests_selector: e2e
4754
extra_lit_opts: --param gpu-intel-gen12=True
@@ -82,6 +89,13 @@ jobs:
8289
image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN
8390
target_devices: opencl:cpu
8491
tests_selector: cts
92+
93+
- name: SYCL-CTS on L0 gen12
94+
runner: '["Linux", "gen12"]'
95+
image: ghcr.io/intel/llvm/ubuntu2204_intel_drivers:latest
96+
image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN
97+
target_devices: level_zero:gpu
98+
tests_selector: cts
8599
uses: ./.github/workflows/sycl-linux-run-tests.yml
86100
with:
87101
name: ${{ matrix.name }}

0 commit comments

Comments
 (0)