Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
4230f26
Reduce memory requirements of sparse K-means test (#3117)
Vika-F Mar 17, 2025
8d49822
chore(deps): update dependency editorconfig-checker/editorconfig-chec…
renovate[bot] Mar 17, 2025
34bdf80
[CI, Enhancement] Refine github actions dpcpp linux make build using …
icfaust Mar 18, 2025
31abed6
[CI, enhancement] track oneTBB using renovatebot (#3077)
icfaust Mar 18, 2025
6081eb1
DOC: Remove broken instructions for building with conda environments …
david-cortes-intel Mar 19, 2025
4a1022e
[CI, enhancement] use -fvisibility=hidden in Linux Make builds (#3080)
icfaust Mar 19, 2025
574bcc9
Upgrade to Bazel 8.1.1 (#3120)
Mar 20, 2025
1fcd929
chore(deps): update actions/upload-artifact action to v4.6.2 (#3132)
renovate[bot] Mar 20, 2025
2940b65
chore(deps): update dependency platforms to v0.0.11 (#3133)
renovate[bot] Mar 20, 2025
77611d2
chore(deps): update dependency rules_cc to v0.1.1 (#3134)
renovate[bot] Mar 20, 2025
0390245
Update naming and dropping Intel specifics (#3116)
napetrov Mar 20, 2025
c296ca4
Fix outlier detection assignment operators (rule of three violation, …
icfaust Mar 20, 2025
d482504
Regression algorithm Coverity fixes (rule-of-three violation) (#3127)
icfaust Mar 20, 2025
20badbf
chore(deps): update dependency uxlfoundation/onetbb to v2022 (#3130)
renovate[bot] Mar 21, 2025
2d21aad
feature(rf optimizations): enabling oneDPL and sort primitive refacto…
Alexandr-Solovev Mar 21, 2025
1b6e7da
[bug] fix intermittent failures in LinuxMakeDPCPP(AVX512) github acti…
icfaust Mar 24, 2025
73dc50e
Update makefile (#3136)
icfaust Mar 24, 2025
c08b379
[CI, enhancement] enforce ABI checking of linux DPCPP build (#3112)
icfaust Mar 24, 2025
31cafec
remove redundant path (managed by conda) (#3137)
david-cortes-intel Mar 24, 2025
8802e7b
Update abi_check.sh (#3140)
icfaust Mar 24, 2025
08283f5
Fix rule of three violations in Linear Regression (#3143)
Vika-F Mar 27, 2025
1dd87b3
Updated globs for bazel 8.0.0 (#3045)
Mar 28, 2025
bbdbd8d
chore(deps): update dependency uxlfoundation/onetbb to v2022.1.0 (#3145)
renovate[bot] Mar 30, 2025
4706aef
[CI, enhancement] set compute runtime GPU settings to improve GPU run…
icfaust Mar 31, 2025
824115c
[docs] add missing documentation of gcov support from #3010 (#3147)
icfaust Mar 31, 2025
67ea6fe
[fix] add copy assignment operator to quantiles (coverity fix) (#3144)
icfaust Mar 31, 2025
a00ac10
[Enhancement] Add float datatype support to rocAucScore (#3074)
icfaust Mar 31, 2025
38be26c
[CI] Update openBLAS to v0.3.29 (#3076)
rakshithgb-fujitsu Apr 1, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.4.1
8.1.1
19 changes: 17 additions & 2 deletions .ci/env/apt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,21 @@ function add_repo {
}

function install_dpcpp {
sudo apt-get install -y intel-oneapi-compiler-dpcpp-cpp-2025.0 intel-oneapi-runtime-libs=2025.0.0-406
sudo apt-get install -y intel-oneapi-compiler-dpcpp-cpp-2025.0 intel-oneapi-runtime-libs
}

function install_tbb {
sudo apt-get install -y intel-oneapi-tbb-devel-2022.0
}

function install_dpl {
sudo apt-get install -y intel-oneapi-libdpstd-devel
}

function install_mkl {
sudo apt-get install -y intel-oneapi-mkl-devel-2025.0
install_tbb
install_dpl
}

function install_clang-format {
Expand Down Expand Up @@ -120,6 +125,10 @@ function install_miniforge {
source /usr/share/miniconda/etc/profile.d/conda.sh
}

function install_abigail {
sudo apt-get install -y abigail-tools
}

if [ "${component}" == "dpcpp" ]; then
add_repo
install_dpcpp
Expand All @@ -129,6 +138,9 @@ elif [ "${component}" == "tbb" ]; then
elif [ "${component}" == "mkl" ]; then
add_repo
install_mkl
elif [ "${component}" == "dpl" ]; then
add_repo
install_dpl
elif [ "${component}" == "gnu-cross-compilers" ]; then
update
install_gnu-cross-compilers "$2"
Expand Down Expand Up @@ -158,8 +170,11 @@ elif [ "${component}" == "miniforge" ] ; then
install_miniforge
fi
install_dev-base-conda
elif [ "${component}" == "abigail" ] ; then
update
install_abigail
else
echo "Usage:"
echo " $0 [dpcpp|tbb|mkl|gnu-cross-compilers|clang-format|dev-base|qemu-apt|qemu-deb|llvm-version|build-sysroot|miniforge]"
echo " $0 [dpcpp|tbb|mkl|dpl|gnu-cross-compilers|clang-format|dev-base|qemu-apt|qemu-deb|llvm-version|build-sysroot|miniforge|abigail]"
exit 1
fi
2 changes: 1 addition & 1 deletion .ci/env/editorconfig-checker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.
#===============================================================================

VERSION=v3.2.0
VERSION=v3.2.1
UNPACKED=ec-linux-amd64
ASSET=$UNPACKED.tar.gz
CHECKSUMS=checksums.txt
Expand Down
2 changes: 1 addition & 1 deletion .ci/env/openblas.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ SCRIPT_PATH=$(readlink -f "${BASH_SOURCE[0]}")
SCRIPT_DIR=$(dirname "${SCRIPT_PATH}")
ONEDAL_DIR=$(readlink -f "${SCRIPT_DIR}/../..")
OPENBLAS_DEFAULT_SOURCE_DIR="${ONEDAL_DIR}/__work/openblas"
BLAS_DEFAULT_VERSION="v0.3.28"
BLAS_DEFAULT_VERSION="v0.3.29"

show_help() {
echo "Usage: $0 [--help]"
Expand Down
10 changes: 5 additions & 5 deletions .ci/env/tbb.bat
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ rem ============================================================================
rem req: PowerShell 3.0+
powershell.exe -command "if ($PSVersionTable.PSVersion.Major -ge 3) {exit 1} else {Write-Host \"The script requires PowerShell 3.0 or above (current version: $($PSVersionTable.PSVersion.Major).$($PSVersionTable.PSVersion.Minor))\"}" && goto Error_load

set TBBURLROOT=https://github.com/uxlfoundation/oneTBB/releases/download/v2021.5.0/
set TBBVERSION=oneapi-tbb-2021.5.0
set TBBPACKAGE=%TBBVERSION%-win
set TBBVERSION=2022.1.0
set TBBURLROOT=https://github.com/uxlfoundation/oneTBB/releases/download/v%TBBVERSION%/
set TBBPACKAGE=oneapi-tbb-%TBBVERSION%-win

set TBBURL=%TBBURLROOT%%TBBPACKAGE%.zip
if /i "%1"=="" (
Expand All @@ -37,7 +37,7 @@ if not exist "%DST%\win\bin" (
powershell.exe -command "(New-Object System.Net.WebClient).DownloadFile('%TBBURL%', '%DST%\%TBBPACKAGE%.zip')" && goto Unpack || goto Error_load

:Unpack
powershell.exe -command "if (Get-Command Add-Type -errorAction SilentlyContinue) {Add-Type -Assembly \"System.IO.Compression.FileSystem\"; try { [IO.Compression.zipfile]::ExtractToDirectory(\"%DST%\%TBBPACKAGE%.zip\", \"%DST%\") ; Copy-Item \"%DST%\%TBBVERSION%\*\" -Destination \"%DST%\win\tbb\" -Recurse }catch{$_.exception ; exit 1}} else {exit 1}" || goto Error_unpack
powershell.exe -command "if (Get-Command Add-Type -errorAction SilentlyContinue) {Add-Type -Assembly \"System.IO.Compression.FileSystem\"; try { [IO.Compression.zipfile]::ExtractToDirectory(\"%DST%\%TBBPACKAGE%.zip\", \"%DST%\") ; Copy-Item \"%DST%\oneapi-tbb-%TBBVERSION%\*\" -Destination \"%DST%\win\tbb\" -Recurse }catch{$_.exception ; exit 1}} else {exit 1}" || goto Error_unpack

if not exist %DST%\win\tbb\redist\intel64\vc14 powershell.exe -command "New-Item -Path \"%DST%\win\tbb\redist\intel64\vc14\" -ItemType Directory"

Expand All @@ -57,4 +57,4 @@ if not exist "%DST%\win\bin" (
) else (
echo oneTBB small libraries are already installed in %DST%
exit /B 0
)
)
2 changes: 1 addition & 1 deletion .ci/env/tbb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ set -eo pipefail
SCRIPT_PATH=$(readlink -f "${BASH_SOURCE[0]}")
SCRIPT_DIR=$(dirname "${SCRIPT_PATH}")
ONEDAL_DIR=$(readlink -f "${SCRIPT_DIR}/../..")
TBB_DEFAULT_VERSION="v2021.10.0"
TBB_DEFAULT_VERSION=v2022.1.0

# Function to display help
show_help() {
Expand Down
2 changes: 1 addition & 1 deletion .ci/pipeline/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ variables:
VM_IMAGE : 'ubuntu-24.04'
SYSROOT_OS: 'noble'
WINDOWS_BASEKIT_URL: 'https://registrationcenter-download.intel.com/akdlm/IRC_NAS/b380d914-366b-4b77-a74a-05e3c38b3514/intel-oneapi-base-toolkit-2025.0.0.882_offline.exe'
WINDOWS_DPCPP_COMPONENTS: 'intel.oneapi.win.mkl.devel:intel.oneapi.win.tbb.devel'
WINDOWS_DPCPP_COMPONENTS: 'intel.oneapi.win.mkl.devel:intel.oneapi.win.tbb.devel:intel.oneapi.win.dpl'

resources:
repositories:
Expand Down
43 changes: 43 additions & 0 deletions .ci/scripts/abi_check.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
#!/bin/bash
#===============================================================================
# Copyright contributors to the oneDAL project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#===============================================================================

ci_dir=$(dirname $(dirname $(dirname "${BASH_SOURCE[0]}")))
cd $ci_dir

# relative paths must be made from the oneDAL repo root
main_release_dir=$1
release_dir=$2
RETURN_CODE=0

echo "Shared Library ABI Conformance"
solibs=($(ls $main_release_dir/lib*.so))
# if no .so files found to compare against, throw error
if [ ${#solibs[@]} -eq 0 ]; then
echo "::error:: No shared objects found"
exit 1
fi

for i in "${solibs[@]}"
do
name=$(basename $i)
echo "======== ${name} ========"
abidiff $i $release_dir/$name
retVal=$?
# ignore a return value of 4 as it signifies a possibly compatible change
if [ $retVal != 4 ]; then RETURN_CODE=$(($RETURN_CODE+$retVal)); fi
done
exit ${RETURN_CODE}
16 changes: 15 additions & 1 deletion .ci/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ show_help() {
--tbb-dir:The TBB installation directory to use to build oneDAL with in the case that the backend is given as `ref`. If the installation directory does not exist, attempts to build this from source
--use-openrng:Set this to yes if openrng is to be used as RNG backend. Use this only with the `ref` backend.
--sysroot:The sysroot to use, in the case that clang is used as the cross-compiler
--debug:Set build debug mode flag
--jobs:The number of parallel threads to use for oneDAL building
'
}

Expand Down Expand Up @@ -76,6 +78,12 @@ while [[ $# -gt 0 ]]; do
--use-openrng)
use_openrng="$2"
shift;;
--debug)
use_debug="$2"
shift;;
--jobs)
jobs="$2"
shift;;
--help)
show_help
exit 0
Expand Down Expand Up @@ -128,7 +136,9 @@ else
fi

#setting build parallelization based on number of threads
if [ "$(uname)" == "Linux" ]; then
if [[ -n "${jobs}" ]]; then
make_op="-j${jobs}"
elif [ "$(uname)" == "Linux" ]; then
make_op="-j$(nproc --all)"
else
make_op="-j$(sysctl -n hw.physicalcpu)"
Expand Down Expand Up @@ -247,6 +257,10 @@ if [ "${use_openrng}" == "yes" ]; then
make_options+=(RNG_BACKEND=openrng)
fi

if [ -n "${use_debug}" ]; then
make_options+=(REQDBG="${use_debug}")
fi

echo "Calling make"
echo "CXX=$CXX"
echo "CC=$CC"
Expand Down
9 changes: 8 additions & 1 deletion .ci/scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ function show_help_text {
--backend:The backend C library to use. Must be one of [mkl, ref]
--platform:Explicitly pass the platform. This is the same as is passed to the top-level oneDAL build script
--cross-compile:Indicates whether cross-compilation is being performed
--jobs:The number of parallel threads to use for test building
'
}

Expand Down Expand Up @@ -74,6 +75,10 @@ while [[ $# -gt 0 ]]; do
--cross-compile)
cross_compile="yes"
;;
--jobs)
jobs="$2"
shift
;;
--help)
show_help_text
exit 0
Expand Down Expand Up @@ -133,7 +138,9 @@ else
exit 1
fi

if [ "$(uname)" == "Linux" ]; then
if [[ -n "${jobs}" ]]; then
make_op="-j${jobs}"
elif [ "$(uname)" == "Linux" ]; then
make_op="-j$(nproc --all)"
else
make_op="-j$(sysctl -n hw.physicalcpu)"
Expand Down
61 changes: 61 additions & 0 deletions .github/.abignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
;
; Copyright contributors to the oneDAL project
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.
;

;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;; DAAL DESELECTIONS ;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;
; deselect daal::internal namespace
[suppress_type]
name_regexp = daal::internal::.*

[suppress_variable]
name_regexp = daal::internal::.*

[suppress_function]
name_regexp = daal::internal::.*

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;; oneDAL DESELECTIONS ;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; deselect oneapi::dal backend namespaces
[suppress_type]
name_regexp = oneapi::dal::.*backend::.*

[suppress_variable]
name_regexp = oneapi::dal::.*backend::.*

[suppress_function]
name_regexp = oneapi::dal::.*backend::.*

; deselect oneapi::dal detail namespaces
[suppress_type]
name_regexp = oneapi::dal::.*detail::.*

[suppress_variable]
name_regexp = oneapi::dal::.*detail::.*

[suppress_function]
name_regexp = oneapi::dal::.*detail::.*

; deselect oneapi::dal preview namespaces
[suppress_type]
name_regexp = oneapi::dal::.*preview::.*

[suppress_variable]
name_regexp = oneapi::dal::.*preview::.*

[suppress_function]
name_regexp = oneapi::dal::.*preview::.*
17 changes: 17 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,23 @@
"matchStrings": ["VERSION=(?<currentValue>v\\d+\\.\\d+\\.\\d+)"],
"depNameTemplate": "editorconfig-checker/editorconfig-checker",
"datasourceTemplate": "github-releases"
},
{
"customType": "regex",
"fileMatch": ["^\\.ci\\/env\\/tbb.+$"],
"matchStrings": [
"TBB_DEFAULT_VERSION=(?<currentValue>v\\d+\\.\\d+\\.\\d+)",
"set TBBVERSION=(?<currentValue>\\d+\\.\\d+\\.\\d+)"
],
"depNameTemplate": "uxlfoundation/oneTBB",
"datasourceTemplate": "github-releases"
},
{
"customType": "regex",
"fileMatch": ["^\\.ci\\/env\\/openblas\\.sh$"],
"matchStrings": ["BLAS_DEFAULT_VERSION=(?<currentValue>v\\d+\\.\\d+\\.\\d+)"],
"depNameTemplate": "OpenMathLib/OpenBLAS",
"datasourceTemplate": "github-releases"
}
]
}
Loading