Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Candidate for the v0.10.0 release tag #1938

Merged
merged 54 commits into from
Aug 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
4d561bf
Merge pull request #1142 from lukaszstolarczuk/dockers-adapters
pbalcer Jul 31, 2024
a26c205
Merge pull request #1884 from callumfare/callum/fix_printtrace
omarahmed1111 Jul 31, 2024
d6b977d
Merge pull request #1880 from hdelan/l0-native-enqueue
omarahmed1111 Jul 31, 2024
68da11a
Merge pull request #1882 from przemektmalon/przemek/interop-map-memory
omarahmed1111 Jul 31, 2024
6035b7e
Merge pull request #1902 from pbalcer/benchmark-automation-2
pbalcer Aug 1, 2024
c09b92c
Merge pull request #1915 from bratpiorka/rrudnick_umf_rc3
pbalcer Aug 1, 2024
075039c
Merge pull request #1920 from zhaomaosu/devsan-add-missing-lib
pbalcer Aug 2, 2024
e89290c
Merge pull request #1883 from aarongreig/aaron/asanObjectLifetimeIssues
pbalcer Aug 2, 2024
502f190
Merge pull request #1918 from pbalcer/fix-pvc-feature
pbalcer Aug 2, 2024
b69cdbd
Merge pull request #1797 from lukaszstolarczuk/update-badges
pbalcer Aug 2, 2024
f630912
Merge pull request #1906 from nrspruit/flex_gpu_copy_engine
omarahmed1111 Aug 2, 2024
c9876a0
Merge pull request #1896 from omarahmed1111/change-opencl-sampler-inf…
omarahmed1111 Aug 2, 2024
ed93994
Merge pull request #1810 from nrspruit/fix_l0_kernel_cts
omarahmed1111 Aug 2, 2024
4af5669
Merge pull request #1812 from nrspruit/fix_l0_program
omarahmed1111 Aug 2, 2024
11c6220
Merge pull request #1921 from pbalcer/switch-runners
pbalcer Aug 5, 2024
1fdb321
Merge pull request #1922 from lukaszstolarczuk/bump-umf
pbalcer Aug 5, 2024
e6c9eb1
Merge pull request #1927 from pbalcer/fix-scorecard
pbalcer Aug 5, 2024
61c9176
Merge pull request #1929 from oneapi-src/revert-1880-l0-native-enqueue
omarahmed1111 Aug 5, 2024
8eec15c
Merge pull request #1943 from kbenzie/benie/fix-coverity-issues
pbalcer Aug 7, 2024
83dbf90
Merge pull request #1930 from oneapi-src/benie/no-import-in-pragma-re…
kbenzie Aug 7, 2024
fb1d31e
Merge pull request #1911 from ProGTX/peter/xpti-static
omarahmed1111 Aug 8, 2024
f7fb4ae
Merge pull request #1910 from Bensuo/sync_point
omarahmed1111 Aug 9, 2024
a8d775a
Merge pull request #1923 from sarnex/buildlog
omarahmed1111 Aug 9, 2024
1ae9c4e
Merge pull request #1933 from nrspruit/fix_driver_version_check
omarahmed1111 Aug 9, 2024
8261ce6
Merge pull request #1960 from Bensuo/ewan/imm_command_list_fix
omarahmed1111 Aug 13, 2024
5020f1e
Merge pull request #1952 from kbenzie/benie/bounds-checking-off-by-de…
omarahmed1111 Aug 13, 2024
bd63464
Merge pull request #1955 from nrspruit/fix_l0_coverity
omarahmed1111 Aug 13, 2024
d2e9aa9
Mark urCommandBufferFillCommandsTest failing in v2
RossBrunton Aug 15, 2024
b5bd71c
Removing passing tests from xfail list
RossBrunton Aug 16, 2024
a434bac
Merge pull request #1946 from callumfare/callum/update_ur_trace_env_var
omarahmed1111 Aug 14, 2024
61a67b3
Merge pull request #1843 from AllanZyne/review/yang/invalid_arguments
omarahmed1111 Aug 7, 2024
8c8ad3c
Merge pull request #1953 from aarongreig/aaron/changeDeviceCreateWith…
omarahmed1111 Aug 15, 2024
3ec0719
Merge pull request #1879 from AllanZyne/review/yang/fix_dsan_destruction
omarahmed1111 Aug 16, 2024
13251fc
Merge pull request #1957 from igchor/optional_id
omarahmed1111 Aug 16, 2024
6c93afd
Merge pull request #1966 from raiyanla/fix-profiling-values-in-order
omarahmed1111 Aug 16, 2024
06eef2a
Merge pull request #1931 from nrspruit/fix_l0_driver_init
omarahmed1111 Aug 16, 2024
7282296
Merge pull request #1973 from omarahmed1111/fix-coverity-issues
omarahmed1111 Aug 16, 2024
3f72cdd
Merge pull request #1983 from nrspruit/fix_coverity_l0_2
omarahmed1111 Aug 16, 2024
a2e1cde
Merge pull request #1985 from igchor/bump_umf_soversion
omarahmed1111 Aug 16, 2024
d6ef7b4
Merge pull request #1987 from npmiller/load-log
omarahmed1111 Aug 19, 2024
8827266
Merge pull request #1936 from isaacault/iault/seg_fault_fix
omarahmed1111 Aug 19, 2024
0367fdd
Merge pull request #1972 from aarongreig/aaron/fixSubGroupMaxSizeAssert
omarahmed1111 Aug 19, 2024
2d0a72e
Merge pull request #1984 from rafbiels/rafbiels/cuda-stream-race-cond
omarahmed1111 Aug 19, 2024
6cca8c7
Merge pull request #1699 from PietroGhg/pietro/usm_fixes
omarahmed1111 Aug 7, 2024
b6f6dc6
Merge pull request #1965 from PietroGhg/pietro/lock_stop_thread
omarahmed1111 Aug 20, 2024
9535f74
Merge pull request #1864 from zhaomaosu/buffer-migration
omarahmed1111 Aug 20, 2024
7355564
Merge pull request #1988 from igchor/event_optional_v2
omarahmed1111 Aug 19, 2024
0df465a
Merge pull request #1858 from zhaomaosu/buffer-copy-host-ptr
omarahmed1111 Aug 20, 2024
5d3606d
Merge pull request #1991 from aarongreig/aaron/clearExtFuncPtrCache
omarahmed1111 Aug 20, 2024
aa4be55
Merge pull request #1940 from RossBrunton/ross/urcall
omarahmed1111 Aug 20, 2024
5f41939
Merge pull request #1993 from lukaszstolarczuk/bump-umf-w-hwloc-fix
igchor Aug 20, 2024
4b1ff58
Merge pull request #2000 from igchor/tracing_fix
omarahmed1111 Aug 22, 2024
c43da0d
Merge pull request #1995 from kswiecicki/refcount-clear
omarahmed1111 Aug 22, 2024
d040a8f
[L0] Make destructor of the context virtual
igchor Aug 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ development environment.

# How to build docker image

To build docker image on local machine execute:
To build docker image on local machine, enter the root dir of the repository and execute:

```sh
docker build -t ur:ubuntu-22.04 -f ./ubuntu-22.04.Dockerfile .
docker build -t ur:ubuntu-22.04 -f .github/docker/ubuntu-22.04.Dockerfile .
```

To set any build time variable (e.g., an optional ARG from docker recipe), add to the command (after `build`), e.g.:
Expand Down
82 changes: 82 additions & 0 deletions .github/docker/fedora-40.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
# Copyright (C) 2023-2024 Intel Corporation
# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions.
# See LICENSE.TXT
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

#
# Dockerfile - a 'recipe' for Docker to build an image of fedora-based
# environment for building the Unified Runtime project.
#

# Pull base image ("40")
FROM registry.hub.docker.com/library/fedora@sha256:5ce8497aeea599bf6b54ab3979133923d82aaa4f6ca5ced1812611b197c79eb0

# Set environment variables
ENV OS fedora
ENV OS_VER 40
ENV NOTTY 1

# Additional parameters to build docker without building components.
# These ARGs can be set in docker building phase and are used
# within bash scripts (executed within docker).
ARG SKIP_DPCPP_BUILD
ARG SKIP_LIBBACKTRACE_BUILD

# Base development packages
ARG BASE_DEPS="\
cmake \
git \
make"

# Unified Runtime's dependencies
ARG UR_DEPS="\
doxygen \
python3 \
python3-pip"

# Miscellaneous for our builds/CI (optional)
ARG MISC_DEPS="\
clang \
ncurses-libs-6.4 \
passwd \
sudo \
wget"

# Update and install required packages
RUN dnf update -y \
&& dnf install -y \
${BASE_DEPS} \
${UR_DEPS} \
${MISC_DEPS} \
&& dnf clean all

# Prepare a dir (accessible by anyone)
RUN mkdir --mode 777 /opt/ur/

# Additional dev. dependencies (installed via pip)
#
# It's actively used and tested only on selected distros. Be aware
# they may not work, because pip packages list differ from OS to OS.
COPY third_party/requirements.txt /opt/ur/requirements.txt

# Install DPC++
COPY .github/docker/install_dpcpp.sh /opt/ur/install_dpcpp.sh
ENV DPCPP_PATH=/opt/dpcpp
RUN /opt/ur/install_dpcpp.sh

# Install libbacktrace
COPY .github/docker/install_libbacktrace.sh /opt/ur/install_libbacktrace.sh
RUN /opt/ur/install_libbacktrace.sh

# Add a new (non-root) 'test_user'
ENV USER test_user
ENV USERPASS pass
# Change shell to bash with safe pipe usage
SHELL [ "/bin/bash", "-o", "pipefail", "-c" ]
RUN useradd -m ${USER} \
&& echo "${USER}:${USERPASS}" | chpasswd \
&& gpasswd wheel -a ${USER}

# Change shell back to default and switch to 'test_user'
SHELL ["/bin/sh", "-c"]
USER test_user
11 changes: 4 additions & 7 deletions .github/docker/install_dpcpp.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Copyright (C) 2023 Intel Corporation
# Copyright (C) 2023-2024 Intel Corporation
# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions.
# See LICENSE.TXT
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
Expand All @@ -15,9 +15,6 @@ if [ "${SKIP_DPCPP_BUILD}" ]; then
exit
fi

apt-get install -y --no-install-recommends \
libncurses5

mkdir -p ${DPCPP_PATH}
wget -O ${DPCPP_PATH}/dpcpp_compiler.tar.gz https://github.com/intel/llvm/releases/download/sycl-nightly%2F20230626/dpcpp-compiler.tar.gz
tar -xvf ${DPCPP_PATH}/dpcpp_compiler.tar.gz -C ${DPCPP_PATH}/
mkdir -p ${DPCPP_PATH}/dpcpp_compiler
wget -O ${DPCPP_PATH}/dpcpp_compiler.tar.gz https://github.com/intel/llvm/releases/download/nightly-2024-01-29/sycl_linux.tar.gz
tar -xvf ${DPCPP_PATH}/dpcpp_compiler.tar.gz -C ${DPCPP_PATH}/dpcpp_compiler
92 changes: 92 additions & 0 deletions .github/docker/opensuse-leap-15.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
# Copyright (C) 2023-2024 Intel Corporation
# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions.
# See LICENSE.TXT
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

#
# Dockerfile - a 'recipe' for Docker to build an image of opensuse-leap-based
# environment for building the Unified Runtime project.
#

# Pull base image ("15")
FROM registry.hub.docker.com/opensuse/leap@sha256:1cf79e78bb69f39fb2f78a7c2c7ebc4b64cf8d82eb1df76cd36767a595ada7a8

# Set environment variables
ENV OS opensuse-leap
ENV OS_VER 15
ENV NOTTY 1

# Additional parameters to build docker without building components.
# These ARGs can be set in docker building phase and are used
# within bash scripts (executed within docker).
ARG SKIP_DPCPP_BUILD
ARG SKIP_LIBBACKTRACE_BUILD

# Base development packages
ARG BASE_DEPS="\
cmake \
gcc \
gcc-c++ \
git \
glibc-devel \
libstdc++-devel \
make"

# Unified Runtime's dependencies
ARG UR_DEPS="\
doxygen \
python3 \
python3-devel \
python3-pip"

# Miscellaneous for our builds/CI (optional)
ARG MISC_DEPS="\
clang \
gzip \
libncurses5 \
sudo \
tar \
wget"

# add openSUSE Leap 15.5 Oss repo
RUN zypper ar -f https://download.opensuse.org/distribution/leap/15.5/repo/oss/ oss

# Update and install required packages
RUN zypper update -y \
&& zypper install -y \
${BASE_DEPS} \
${UR_DEPS} \
${MISC_DEPS} \
&& zypper clean all

# Prepare a dir (accessible by anyone)
RUN mkdir --mode 777 /opt/ur/

# Additional dev. dependencies (installed via pip)
#
# It's actively used and tested only on selected distros. Be aware
# they may not work, because pip packages list differ from OS to OS.
COPY third_party/requirements.txt /opt/ur/requirements.txt

# Install DPC++
COPY .github/docker/install_dpcpp.sh /opt/ur/install_dpcpp.sh
ENV DPCPP_PATH=/opt/dpcpp
RUN /opt/ur/install_dpcpp.sh

# Install libbacktrace
COPY .github/docker/install_libbacktrace.sh /opt/ur/install_libbacktrace.sh
RUN /opt/ur/install_libbacktrace.sh

# Add a new (non-root) 'test_user' and switch to it
ENV USER test_user
ENV USERPASS pass
ENV PFILE ./password
RUN useradd -m ${USER} \
&& echo ${USERPASS} > ${PFILE} \
&& echo ${USERPASS} >> ${PFILE} \
&& passwd ${USER} < ${PFILE} \
&& rm -f ${PFILE} \
&& sed -i 's/# %wheel/%wheel/g' /etc/sudoers \
&& groupadd wheel \
&& gpasswd wheel -a ${USER}
USER test_user
93 changes: 93 additions & 0 deletions .github/docker/rockylinux-8.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
# Copyright (C) 2023-2024 Intel Corporation
# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions.
# See LICENSE.TXT
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

#
# Dockerfile - a 'recipe' for Docker to build an image of rockylinux-based
# environment for building the Unified Runtime project.
#

# Pull base image ("8.9")
FROM registry.hub.docker.com/library/rockylinux@sha256:9794037624aaa6212aeada1d28861ef5e0a935adaf93e4ef79837119f2a2d04c

# Set environment variables
ENV OS rockylinux
ENV OS_VER 8
ENV NOTTY 1

# Additional parameters to build docker without building components.
# These ARGs can be set in docker building phase and are used
# within bash scripts (executed within docker).
ARG SKIP_DPCPP_BUILD
ARG SKIP_LIBBACKTRACE_BUILD

# Base development packages
ARG BASE_DEPS="\
cmake \
git \
glibc-devel \
libstdc++-devel \
make"

# Unified Runtime's dependencies
ARG UR_DEPS="\
doxygen \
python3 \
python3-pip"

# Packages required by requirements.txt
ARG PRE_PYTHON_DEPS="\
libjpeg-turbo-devel \
python3-devel \
python3-wheel \
zlib-devel"

# Miscellaneous for our builds/CI (optional)
ARG MISC_DEPS="\
clang \
ncurses-libs-6.1 \
passwd \
sudo \
wget"

# Update and install required packages
RUN dnf update -y \
&& dnf --enablerepo devel install -y \
${BASE_DEPS} \
${UR_DEPS} \
${PRE_PYTHON_DEPS} \
${MISC_DEPS} \
&& dnf clean all

# Prepare a dir (accessible by anyone)
RUN mkdir --mode 777 /opt/ur/

# Additional dev. dependencies (installed via pip)
#
# It's actively used and tested only on selected distros. Be aware
# they may not work, because pip packages list differ from OS to OS.
COPY third_party/requirements.txt /opt/ur/requirements.txt

# Install DPC++
COPY .github/docker/install_dpcpp.sh /opt/ur/install_dpcpp.sh
ENV DPCPP_PATH=/opt/dpcpp
RUN /opt/ur/install_dpcpp.sh

# Install libbacktrace
COPY .github/docker/install_libbacktrace.sh /opt/ur/install_libbacktrace.sh
RUN /opt/ur/install_libbacktrace.sh

# Add a new (non-root) 'test_user'
ENV USER test_user
ENV USERPASS pass
# Change shell to bash with safe pipe usage
SHELL [ "/bin/bash", "-o", "pipefail", "-c" ]
RUN useradd -m $USER \
&& echo "${USERPASS}" | passwd "${USER}" --stdin \
&& gpasswd wheel -a "${USER}" \
&& echo "%wheel ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers

# Change shell back to default and switch to 'test_user'
SHELL ["/bin/sh", "-c"]
USER test_user
85 changes: 85 additions & 0 deletions .github/docker/rockylinux-9.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
# Copyright (C) 2023-2024 Intel Corporation
# Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM Exceptions.
# See LICENSE.TXT
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

#
# Dockerfile - a 'recipe' for Docker to build an image of rockylinux-based
# environment for building the Unified Runtime project.
#

# Pull base image ("9.3")
FROM registry.hub.docker.com/library/rockylinux@sha256:d7be1c094cc5845ee815d4632fe377514ee6ebcf8efaed6892889657e5ddaaa6

# Set environment variables
ENV OS rockylinux
ENV OS_VER 9
ENV NOTTY 1

# Additional parameters to build docker without building components.
# These ARGs can be set in docker building phase and are used
# within bash scripts (executed within docker).
ARG SKIP_DPCPP_BUILD
ARG SKIP_LIBBACKTRACE_BUILD

# Base development packages
ARG BASE_DEPS="\
cmake \
git \
glibc-devel \
libstdc++-devel \
make"

# Unified Runtime's dependencies
ARG UR_DEPS="\
doxygen \
python3 \
python3-pip"

# Miscellaneous for our builds/CI (optional)
ARG MISC_DEPS="\
clang \
ncurses-libs-6.2 \
passwd \
sudo \
wget"

# Update and install required packages
RUN dnf update -y \
&& dnf --enablerepo devel install -y \
${BASE_DEPS} \
${UR_DEPS} \
${MISC_DEPS} \
&& dnf clean all

# Prepare a dir (accessible by anyone)
RUN mkdir --mode 777 /opt/ur/

# Additional dev. dependencies (installed via pip)
#
# It's actively used and tested only on selected distros. Be aware
# they may not work, because pip packages list differ from OS to OS.
COPY third_party/requirements.txt /opt/ur/requirements.txt

# Install DPC++
COPY .github/docker/install_dpcpp.sh /opt/ur/install_dpcpp.sh
ENV DPCPP_PATH=/opt/dpcpp
RUN /opt/ur/install_dpcpp.sh

# Install libbacktrace
COPY .github/docker/install_libbacktrace.sh /opt/ur/install_libbacktrace.sh
RUN /opt/ur/install_libbacktrace.sh

# Add a new (non-root) 'test_user'
ENV USER test_user
ENV USERPASS pass
# Change shell to bash with safe pipe usage
SHELL [ "/bin/bash", "-o", "pipefail", "-c" ]
RUN useradd -m $USER \
&& echo "${USERPASS}" | passwd "${USER}" --stdin \
&& gpasswd wheel -a "${USER}" \
&& echo "%wheel ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers

# Change shell back to default and switch to 'test_user'
SHELL ["/bin/sh", "-c"]
USER test_user
Loading
Loading