-
Notifications
You must be signed in to change notification settings - Fork 752
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/sycl' into llvmspirv_pulldown
Conflicts: sycl/test/check_device_code/vector/vector_math_ops.cpp
- Loading branch information
Showing
85 changed files
with
1,003 additions
and
556 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
FROM nvidia/cuda:12.6.3-devel-ubuntu24.04 | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
USER root | ||
|
||
# Install SYCL prerequisites | ||
COPY scripts/install_build_tools.sh /install.sh | ||
RUN /install.sh | ||
|
||
SHELL ["/bin/bash", "-ec"] | ||
|
||
# Install oneAPI | ||
|
||
# Make the directory if it doesn't exist yet. | ||
# This location is recommended by the distribution maintainers. | ||
RUN mkdir --parents --mode=0755 /etc/apt/keyrings | ||
# Download the key, convert the signing-key to a full | ||
# keyring required by apt and store in the keyring directory | ||
RUN wget https://repo.radeon.com/rocm/rocm.gpg.key -O - | \ | ||
gpg --dearmor | tee /etc/apt/keyrings/rocm.gpg > /dev/null && \ | ||
# Add rocm repo | ||
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/amdgpu/6.3/ubuntu noble main" \ | ||
| tee /etc/apt/sources.list.d/amdgpu.list && \ | ||
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/rocm.gpg] https://repo.radeon.com/rocm/apt/6.3 noble main" \ | ||
| tee --append /etc/apt/sources.list.d/rocm.list && \ | ||
echo -e 'Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600' \ | ||
| tee /etc/apt/preferences.d/rocm-pin-600 && \ | ||
echo -e 'Package: *\nPin: release o=repo.radeon.com\nPin-Priority: 600' \ | ||
| tee /etc/apt/preferences.d/rocm-pin-600 && \ | ||
wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | gpg --dearmor \ | ||
| tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null && \ | ||
echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" \ | ||
| tee /etc/apt/sources.list.d/oneAPI.list && \ | ||
apt update | ||
# Install the ROCM kernel driver and oneAPI | ||
RUN apt install -yqq rocm-dev intel-oneapi-compiler-dpcpp-cpp && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
# By default Ubuntu sets an arbitrary UID value, that is different from host | ||
# system. When CI passes default UID value of 1001, some of LLVM tools fail to | ||
# discover user home directory and fail a few LIT tests. Fixes UID and GID to | ||
# 1001, that is used as default by GitHub Actions. | ||
RUN groupadd -g 1001 sycl && useradd sycl -u 1001 -g 1001 -m -s /bin/bash | ||
# Add sycl user to video/irc groups so that it can access GPU | ||
RUN usermod -aG video sycl | ||
RUN usermod -aG irc sycl | ||
|
||
COPY scripts/docker_entrypoint.sh /docker_entrypoint.sh | ||
|
||
ENTRYPOINT ["/docker_entrypoint.sh"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# commit b7047f6c36ec17b8560c2f1cd9ac9521715a9127 | ||
# Merge: 73e5f3c6ff2d fcddf077c290 | ||
# Author: Martin Grant <martin.morrisongrant@codeplay.com> | ||
# Date: Fri Dec 13 14:20:15 2024 +0000 | ||
# Merge pull request #2454 from Bensuo/l0_cmd-buf_multi-device | ||
# Fix L0 command-buffer consumption of multi-device kernels | ||
set(UNIFIED_RUNTIME_TAG b7047f6c36ec17b8560c2f1cd9ac9521715a9127) | ||
# commit 39df0317814c164f5242eda8d6f08550f6268492 | ||
# Merge: 68d93efd be27d8f0 | ||
# Author: Kenneth Benzie (Benie) <k.benzie@codeplay.com> | ||
# Date: Mon Dec 16 13:53:13 2024 +0000 | ||
# Merge pull request #2467 from nrspruit/fix_external_import_function_call | ||
# [L0] Fix external semaphore import function calls to match the header | ||
set(UNIFIED_RUNTIME_TAG 39df0317814c164f5242eda8d6f08550f6268492) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.