Skip to content

Commit

Permalink
Merge branch 'develop' into romain/rocsparse
Browse files Browse the repository at this point in the history
  • Loading branch information
Rbiessy committed Dec 4, 2024
2 parents c53ef8d + f30ae98 commit 7b3357e
Show file tree
Hide file tree
Showing 846 changed files with 51,697 additions and 82,663 deletions.
123 changes: 65 additions & 58 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,71 +1,78 @@
# Arch files
/.github/ @oneapi-src/onemkl-arch-write
/.gitignore/ @oneapi-src/onemkl-arch-write
/cmake/ @oneapi-src/onemkl-arch-write
/deps/ @oneapi-src/onemkl-arch-write
/docs/ @oneapi-src/onemkl-arch-write
/examples/include/ @oneapi-src/onemkl-arch-write
/examples/CMakeList.txt @oneapi-src/onemkl-arch-write
/examples/README.md @oneapi-src/onemkl-arch-write
/include/oneapi/mkl.hpp @oneapi-src/onemkl-arch-write
/include/oneapi/mkl/detail/ @oneapi-src/onemkl-arch-write
/include/oneapi/mkl/exceptions.hpp @oneapi-src/onemkl-arch-write
/scripts/ @oneapi-src/onemkl-arch-write
/src/include/ @oneapi-src/onemkl-arch-write
/src/CMakeLists.txt @oneapi-src/onemkl-arch-write
/src/config.hpp.in @oneapi-src/onemkl-arch-write
/tests/CMakeLists.txt @oneapi-src/onemkl-arch-write
/tests/README.md @oneapi-src/onemkl-arch-write
/tests/unit_tests/include/ @oneapi-src/onemkl-arch-write
/tests/unit_tests/CMakeLists.txt @oneapi-src/onemkl-arch-write
/tests/unit_tests/main_test.cpp @oneapi-src/onemkl-arch-write
/third-party-programs/ @oneapi-src/onemkl-arch-write
/CMakeLists.txt @oneapi-src/onemkl-arch-write
/CODE_OF_CONDUCT.md @oneapi-src/onemkl-arch-write
/CONTRIBUTING.md @oneapi-src/onemkl-arch-write
/LICENSE @oneapi-src/onemkl-arch-write
/MAINTAINERS.md @oneapi-src/onemkl-arch-write
/README.md @oneapi-src/onemkl-arch-write
/SECURITY.md @oneapi-src/onemkl-arch-write
/_clang-format @oneapi-src/onemkl-arch-write
/legal_information.md @oneapi-src/onemkl-arch-write
/.github/ @uxlfoundation/onemath-arch-write
/.gitignore/ @uxlfoundation/onemath-arch-write
/cmake/ @uxlfoundation/onemath-arch-write
/deps/ @uxlfoundation/onemath-arch-write
/docs/ @uxlfoundation/onemath-arch-write
/examples/include/ @uxlfoundation/onemath-arch-write
/examples/CMakeList.txt @uxlfoundation/onemath-arch-write
/examples/README.md @uxlfoundation/onemath-arch-write
/include/oneapi/math.hpp @uxlfoundation/onemath-arch-write
/include/oneapi/math/detail/ @uxlfoundation/onemath-arch-write
/include/oneapi/mkl.hpp @uxlfoundation/onemath-arch-write
/include/oneapi/mkl/namespace_alias.hpp @uxlfoundation/onemath-arch-write
/scripts/ @uxlfoundation/onemath-arch-write
/src/include/ @uxlfoundation/onemath-arch-write
/src/CMakeLists.txt @uxlfoundation/onemath-arch-write
/src/config.hpp.in @uxlfoundation/onemath-arch-write
/tests/CMakeLists.txt @uxlfoundation/onemath-arch-write
/tests/README.md @uxlfoundation/onemath-arch-write
/tests/unit_tests/include/ @uxlfoundation/onemath-arch-write
/tests/unit_tests/CMakeLists.txt @uxlfoundation/onemath-arch-write
/tests/unit_tests/main_test.cpp @uxlfoundation/onemath-arch-write
/third-party-programs/ @uxlfoundation/onemath-arch-write
/CMakeLists.txt @uxlfoundation/onemath-arch-write
/CODE_OF_CONDUCT.md @uxlfoundation/onemath-arch-write
/CONTRIBUTING.md @uxlfoundation/onemath-arch-write
/LICENSE @uxlfoundation/onemath-arch-write
/MAINTAINERS.md @uxlfoundation/onemath-arch-write
/README.md @uxlfoundation/onemath-arch-write
/SECURITY.md @uxlfoundation/onemath-arch-write
/_clang-format @uxlfoundation/onemath-arch-write
/legal_information.md @uxlfoundation/onemath-arch-write

# BLAS files
/examples/blas/ @oneapi-src/onemkl-blas-write
/include/oneapi/mkl/blas/ @oneapi-src/onemkl-blas-write
/include/oneapi/mkl/blas.hxx @oneapi-src/onemkl-blas-write
/include/oneapi/mkl/blas.hpp @oneapi-src/onemkl-blas-write
/include/oneapi/mkl/bfloat16.hpp @oneapi-src/onemkl-blas-write
/src/blas/ @oneapi-src/onemkl-blas-write
/tests/unit_tests/blas/ @oneapi-src/onemkl-blas-write
/examples/blas/ @uxlfoundation/onemath-blas-write
/include/oneapi/math/blas/ @uxlfoundation/onemath-blas-write
/include/oneapi/math/blas.hpp @uxlfoundation/onemath-blas-write
/include/oneapi/math/blas.hxx @uxlfoundation/onemath-blas-write
/include/oneapi/math/bfloat16.hpp @uxlfoundation/onemath-blas-write
/include/oneapi/mkl/blas.hpp @uxlfoundation/onemath-blas-write
/src/blas/ @uxlfoundation/onemath-blas-write
/tests/unit_tests/blas/ @uxlfoundation/onemath-blas-write

# DFT files
/examples/dft/ @oneapi-src/onemkl-dft-write
/include/oneapi/mkl/dft/ @oneapi-src/onemkl-dft-write
/include/oneapi/mkl/dft.hpp @oneapi-src/onemkl-dft-write
/src/dft/ @oneapi-src/onemkl-dft-write
/tests/unit_tests/dft/ @oneapi-src/onemkl-dft-write
/examples/dft/ @uxlfoundation/onemath-dft-write
/include/oneapi/math/dft/ @uxlfoundation/onemath-dft-write
/include/oneapi/math/dft.hpp @uxlfoundation/onemath-dft-write
/include/oneapi/mkl/dft.hpp @uxlfoundation/onemath-dft-write
/src/dft/ @uxlfoundation/onemath-dft-write
/tests/unit_tests/dft/ @uxlfoundation/onemath-dft-write

# LAPACK files
/examples/lapack/ @oneapi-src/onemkl-lapack-write
/include/oneapi/mkl/lapack/ @oneapi-src/onemkl-lapack-write
/include/oneapi/mkl/lapack.hpp @oneapi-src/onemkl-lapack-write
/src/lapack/ @oneapi-src/onemkl-lapack-write
/tests/unit_tests/lapack/ @oneapi-src/onemkl-lapack-write
/examples/lapack/ @uxlfoundation/onemath-lapack-write
/include/oneapi/math/lapack/ @uxlfoundation/onemath-lapack-write
/include/oneapi/math/lapack.hpp @uxlfoundation/onemath-lapack-write
/include/oneapi/mkl/lapack.hpp @uxlfoundation/onemath-lapack-write
/src/lapack/ @uxlfoundation/onemath-lapack-write
/tests/unit_tests/lapack/ @uxlfoundation/onemath-lapack-write

# RNG files
/examples/rng/ @oneapi-src/onemkl-rng-write
/include/oneapi/mkl/rng/ @oneapi-src/onemkl-rng-write
/include/oneapi/mkl/rng.hpp @oneapi-src/onemkl-rng-write
/src/rng/ @oneapi-src/onemkl-rng-write
/tests/unit_tests/rng/ @oneapi-src/onemkl-rng-write
/examples/rng/ @uxlfoundation/onemath-rng-write
/include/oneapi/math/rng/ @uxlfoundation/onemath-rng-write
/include/oneapi/math/rng.hpp @uxlfoundation/onemath-rng-write
/include/oneapi/mkl/rng.hpp @uxlfoundation/onemath-rng-write
/include/oneapi/mkl/rng/device.hpp @uxlfoundation/onemath-rng-write
/src/rng/ @uxlfoundation/onemath-rng-write
/tests/unit_tests/rng/ @uxlfoundation/onemath-rng-write

# Sparse BLAS files
/examples/sparse_blas/ @oneapi-src/onemkl-sparse-write
/include/oneapi/mkl/sparse_blas/ @oneapi-src/onemkl-sparse-write
/include/oneapi/mkl/sparse_blas.hpp @oneapi-src/onemkl-sparse-write
/src/sparse_blas/ @oneapi-src/onemkl-sparse-write
/tests/unit_tests/sparse_blas/ @oneapi-src/onemkl-sparse-write
/examples/sparse_blas/ @uxlfoundation/onemath-sparse-write
/include/oneapi/math/sparse_blas/ @uxlfoundation/onemath-sparse-write
/include/oneapi/math/sparse_blas.hpp @uxlfoundation/onemath-sparse-write
/include/oneapi/mkl/sparse_blas.hpp @uxlfoundation/onemath-sparse-write
/src/sparse_blas/ @uxlfoundation/onemath-sparse-write
/tests/unit_tests/sparse_blas/ @uxlfoundation/onemath-sparse-write

# Shared files
/include/oneapi/mkl/types.hpp @oneapi-src/onemkl-blas-write @oneapi-src/onemkl-lapack-write
/include/oneapi/math/types.hpp @uxlfoundation/onemath-blas-write @uxlfoundation/onemath-lapack-write
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/RFC.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ assignees: ''
# Summary
Include a short summary of the request. Sections below provide guidance on
what factors are considered important. Describe how new interface will meet
[library functionality guidelines](https://github.com/oneapi-src/oneMKL/blob/master/CONTRIBUTING.md#library-functionality-guidelines).
[library functionality guidelines](https://github.com/uxlfoundation/oneMath/blob/master/CONTRIBUTING.md#library-functionality-guidelines).

# Problem statement
Describe the problem you are trying to solve with reasonable level of details.
Expand All @@ -18,4 +18,4 @@ Describe the problem you are trying to solve with reasonable level of details.
* The definition of the function including interface and semantics. How this
interface will be extendable for different HW implementations.
* What existing libraries have implementation of this function and can be used
under oneMKL interface.
under oneMath.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ Provide a short summary of the issue. Sections below provide guidance on what
factors are considered important to reproduce an issue.

# Version
Report oneMKL version and githash.
Report oneMath version and githash.
If it is a regression, report githash for the last known good revision.

# Environment
oneMKL works with multiple HW and backend libraries and also depends on the
oneMath works with multiple HW and backend libraries and also depends on the
compiler and build environment. Include
the following information to help reproduce the issue:
* HW you use
Expand Down
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Please include a summary of the change. Please also include relevant
motivation and context. See
[contribution guidelines](https://github.com/oneapi-src/oneMKL/blob/master/CONTRIBUTING.md)
[contribution guidelines](https://github.com/uxlfoundation/oneMath/blob/master/CONTRIBUTING.md)
for more details. If the change fixes an issue not documented in the project's
Github issue tracker, please document all steps necessary to reproduce it.

Expand Down
6 changes: 3 additions & 3 deletions .github/scripts/domain-check.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function matchesPattern(domain, filePaths) {
!filePath.startsWith("third-party-programs/"),
);
// These directories contain domain specific code
const dirs = "(tests/unit_tests|examples|src|include/oneapi/mkl)";
const dirs = "(tests/unit_tests|examples|src|include/oneapi/math)";
const domains = "(blas|lapack|rng|dft)";
// matches changes to the domain of interest or non domain-specific code
const re = new RegExp(`^(${dirs}/${domain}|(?!${dirs}/${domains}))`);
Expand Down Expand Up @@ -92,7 +92,7 @@ test_patterns = [
},
{
domain: "lapack",
files: ["include/oneapi/mkl/lapack/lapack.hpp"],
files: ["include/oneapi/math/lapack/lapack.hpp"],
expected: true,
},
{
Expand All @@ -117,7 +117,7 @@ test_patterns = [
},
{
domain: "lapack",
files: ["include/oneapi/mkl/rng/lapack.hpp"],
files: ["include/oneapi/math/rng/lapack.hpp"],
expected: false,
},
{
Expand Down
24 changes: 14 additions & 10 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
runs-on: ubuntu-latest
# One runner for each domain
strategy:
fail-fast: false
matrix:
include:
- config: portBLAS
Expand All @@ -40,15 +41,15 @@ jobs:
domain: dft
build_options: -DENABLE_PORTFFT_BACKEND=ON -DENABLE_MKLCPU_BACKEND=OFF
test_options: -R 'DFT/CT/.*ComputeTests_in_place_COMPLEX.COMPLEX_SINGLE_in_place_buffer.sizes_8_batches_1*'
- config: MKL BLAS
- config: oneMath BLAS
domain: blas
build_options: -DREF_BLAS_ROOT=${PWD}/lapack/install
- config: MKL DFT
- config: oneMath DFT
domain: dft
- config: MKL LAPACK
- config: oneMath LAPACK
domain: lapack
build_options: -DREF_LAPACK_ROOT=${PWD}/lapack/install
- config: MKL RNG
- config: oneMath RNG
domain: rng
name: unit tests ${{ matrix.config }} CPU
steps:
Expand Down Expand Up @@ -77,13 +78,16 @@ jobs:
# 64 bit int
cmake ${SHARED_OPT} -DBUILD_INDEX64=on -B lapack/build64
cmake --build lapack/build64 ${PARALLEL} --target install
- name: Install oneapi
- name: Install compiler
if: steps.domain_check.outputs.result == 'true'
uses: rscohn2/setup-oneapi@2ad0cf6b74bc2426bdcee825cf88f9db719dd727 # v0.1.0
with:
components: |
[email protected]
[email protected]
run: |
wget --progress=dot:giga https://registrationcenter-download.intel.com/akdlm/IRC_NAS/ac92f2bb-4818-4e53-a432-f8b34d502f23/intel-dpcpp-cpp-compiler-2025.0.0.740_offline.sh
sudo bash intel-dpcpp-cpp-compiler-2025.0.0.740_offline.sh -s -a -s --action install --eula accept
- name: Install Intel oneMKL
if: steps.domain_check.outputs.result == 'true'
run: |
wget --progress=dot:giga https://registrationcenter-download.intel.com/akdlm/IRC_NAS/79153e0f-74d7-45af-b8c2-258941adf58a/intel-onemkl-2025.0.0.940_offline.sh
sudo bash intel-onemkl-2025.0.0.940_offline.sh -s -a -s --action install --eula accept
- name: Configure/Build for a domain
if: steps.domain_check.outputs.result == 'true'
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/slack-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:

env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
channel: "onemkl"
channel: "onemath"

permissions:
pull-requests: read
Expand Down
Loading

0 comments on commit 7b3357e

Please sign in to comment.