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

[oneMKL] Rename oneMKL Interface project #596

Merged
merged 18 commits into from
Dec 3, 2024
Merged
Changes from 1 commit
Commits
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
Prev Previous commit
Next Next commit
Update namespace after pulling newest chages
Signed-off-by: nscipione <nicolo.scipione@codeplay.com>
  • Loading branch information
s-Nick committed Nov 8, 2024
commit a46021514a1d63412ab903f79b7411f805d50d55
2 changes: 1 addition & 1 deletion source/elements/oneMath/source/domains/lapack/getri.rst
Original file line number Diff line number Diff line change
@@ -110,7 +110,7 @@ getri (USM Version)

.. code-block:: cpp

namespace oneapi::mkl::lapack {
namespace oneapi::math::lapack {
cl::sycl::event getri(cl::sycl::queue &queue, std::int64_t n, T *a, std::int64_t lda, const std::int64_t *ipiv, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
}

4 changes: 2 additions & 2 deletions source/elements/oneMath/source/domains/lapack/getri_batch.rst
Original file line number Diff line number Diff line change
@@ -133,7 +133,7 @@ Total number of problems to solve, ``batch_size``, is a sum of sizes of all of t

.. code-block:: cpp

namespace oneapi::mkl::lapack {
namespace oneapi::math::lapack {
cl::sycl::event getri_batch(cl::sycl::queue &queue, std::int64_t *n, T **a, std::int64_t *lda, const std::int64_t * const *ipiv, std::int64_t group_count, std::int64_t *group_sizes, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
}

@@ -216,7 +216,7 @@ The routine computes the inverses :math:`A_i^{-1}` of general matrices :math:`A_

.. code-block:: cpp

namespace oneapi::mkl::lapack {
namespace oneapi::math::lapack {
cl::sycl::event getri_batch(cl::sycl::queue &queue, std::int64_t n, T *a, std::int64_t lda, std::int64_t stride_a, const std::int64_t *ipiv, std::int64_t stride_ipiv, std::int64_t batch_size, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
};

4 changes: 2 additions & 2 deletions source/elements/oneMath/source/domains/lapack/getrs.rst
Original file line number Diff line number Diff line change
@@ -151,8 +151,8 @@ getrs (USM Version)

.. code-block:: cpp

namespace oneapi::mkl::lapack {
cl::sycl::event getrs(cl::sycl::queue &queue, oneapi::mkl::transpose trans, std::int64_t n, std::int64_t nrhs, const T *a, std::int64_t lda, const std::int64_t *ipiv, T *b, std::int64_t ldb, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
namespace oneapi::math::lapack {
cl::sycl::event getrs(cl::sycl::queue &queue, oneapi::math::transpose trans, std::int64_t n, std::int64_t nrhs, const T *a, std::int64_t lda, const std::int64_t *ipiv, T *b, std::int64_t ldb, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
}

.. container:: section
8 changes: 4 additions & 4 deletions source/elements/oneMath/source/domains/lapack/getrs_batch.rst
Original file line number Diff line number Diff line change
@@ -160,8 +160,8 @@ The USM version of ``getrs_batch`` supports the group API and strided API.

.. code-block:: cpp

namespace oneapi::mkl::lapack {
cl::sycl::event getrs_batch(cl::sycl::queue &queue, mkl::transpose *trans, std::int64_t *n, std::int64_t *nrhs, const T * const *a, std::int64_t *lda, const std::int64_t * const *ipiv, T **b, std::int64_t *ldb, std::int64_t group_count, std::int64_t *group_sizes, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
namespace oneapi::math::lapack {
cl::sycl::event getrs_batch(cl::sycl::queue &queue, math::transpose *trans, std::int64_t *n, std::int64_t *nrhs, const T * const *a, std::int64_t *lda, const std::int64_t * const *ipiv, T **b, std::int64_t *ldb, std::int64_t group_count, std::int64_t *group_sizes, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
}

.. container:: section
@@ -264,8 +264,8 @@ This routine shall throw the following exceptions if the associated condition is

.. code-block:: cpp

namespace oneapi::mkl::lapack {
cl::sycl::event getrs_batch(cl::sycl::queue &queue, mkl::transpose trans, std::int64_t n, std::int64_t nrhs, const T *a, std::int64_t lda, std::int64_t stride_a, const std::int64_t *ipiv, std::int64_t stride_ipiv, T *b, std::int64_t ldb, std::int64_t stride_b, std::int64_t batch_size, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
namespace oneapi::math::lapack {
cl::sycl::event getrs_batch(cl::sycl::queue &queue, math::transpose trans, std::int64_t n, std::int64_t nrhs, const T *a, std::int64_t lda, std::int64_t stride_a, const std::int64_t *ipiv, std::int64_t stride_ipiv, T *b, std::int64_t ldb, std::int64_t stride_b, std::int64_t batch_size, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
};

.. container:: section
4 changes: 2 additions & 2 deletions source/elements/oneMath/source/domains/lapack/orgbr.rst
Original file line number Diff line number Diff line change
@@ -168,8 +168,8 @@ orgbr (USM Version)

.. code-block:: cpp

namespace oneapi::mkl::lapack {
cl::sycl::event orgbr(cl::sycl::queue &queue, oneapi::mkl::generate gen, std::int64_t m, std::int64_t n, std::int64_t k, T *a, std::int64_t lda, const T *tau, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
namespace oneapi::math::lapack {
cl::sycl::event orgbr(cl::sycl::queue &queue, oneapi::math::generate gen, std::int64_t m, std::int64_t n, std::int64_t k, T *a, std::int64_t lda, const T *tau, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
}

.. container:: section
2 changes: 1 addition & 1 deletion source/elements/oneMath/source/domains/lapack/orgqr.rst
Original file line number Diff line number Diff line change
@@ -146,7 +146,7 @@ orgqr (USM Version)

.. code-block:: cpp

namespace oneapi::mkl::lapack {
namespace oneapi::math::lapack {
cl::sycl::event orgqr(cl::sycl::queue &queue, std::int64_t m, std::int64_t n, std::int64_t k, T *a, std::int64_t lda, const T *tau, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
}

4 changes: 2 additions & 2 deletions source/elements/oneMath/source/domains/lapack/orgqr_batch.rst
Original file line number Diff line number Diff line change
@@ -145,7 +145,7 @@ The USM version of ``orgqr_batch`` supports the group API and strided API.

.. code-block:: cpp

namespace oneapi::mkl::lapack {
namespace oneapi::math::lapack {
cl::sycl::event orgqr_batch(cl::sycl::queue &queue, std::int64_t *m, std::int64_t *n, std::int64_t *k, T **a, std::int64_t *lda, const T * const *tau, std::int64_t group_count, std::int64_t *group_sizes, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
}

@@ -243,7 +243,7 @@ This routine shall throw the following exceptions if the associated condition is

.. code-block:: cpp

namespace oneapi::mkl::lapack {
namespace oneapi::math::lapack {
cl::sycl::event orgqr_batch(cl::sycl::queue &queue, std::int64_t m, std::int64_t n, std::int64_t k, T *a, std::int64_t lda, std::int64_t stride_a, const T *tau, std::int64_t stride_tau, std::int64_t batch_size, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
};

4 changes: 2 additions & 2 deletions source/elements/oneMath/source/domains/lapack/orgtr.rst
Original file line number Diff line number Diff line change
@@ -114,8 +114,8 @@ orgtr (USM Version)

.. code-block:: cpp

namespace oneapi::mkl::lapack {
cl::sycl::event orgtr(cl::sycl::queue &queue, oneapi::mkl::uplo upper_lower, std::int64_t n, T *a, std::int64_t lda, const T *tau, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
namespace oneapi::math::lapack {
cl::sycl::event orgtr(cl::sycl::queue &queue, oneapi::math::uplo upper_lower, std::int64_t n, T *a, std::int64_t lda, const T *tau, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
}

.. container:: section
4 changes: 2 additions & 2 deletions source/elements/oneMath/source/domains/lapack/ormqr.rst
Original file line number Diff line number Diff line change
@@ -147,8 +147,8 @@ ormqr (USM Version)

.. code-block:: cpp

namespace oneapi::mkl::lapack {
cl::sycl::event ormqr(cl::sycl::queue &queue, oneapi::mkl::side side, oneapi::mkl::transpose trans, std::int64_t m, std::int64_t n, std::int64_t k, const T *a, std::int64_t lda, const T *tau, T *c, std::int64_t ldc, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
namespace oneapi::math::lapack {
cl::sycl::event ormqr(cl::sycl::queue &queue, oneapi::math::side side, oneapi::math::transpose trans, std::int64_t m, std::int64_t n, std::int64_t k, const T *a, std::int64_t lda, const T *tau, T *c, std::int64_t ldc, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
}

.. container:: section
4 changes: 2 additions & 2 deletions source/elements/oneMath/source/domains/lapack/ormrq.rst
Original file line number Diff line number Diff line change
@@ -147,8 +147,8 @@ ormrq (USM Version)

.. code-block:: cpp

namespace oneapi::mkl::lapack {
cl::sycl::event ormrq(cl::sycl::queue &queue, oneapi::mkl::side side, oneapi::mkl::transpose trans, std::int64_t m, std::int64_t n, std::int64_t k, const T *a, std::int64_t lda, const T *tau, T *c, std::int64_t ldc, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
namespace oneapi::math::lapack {
cl::sycl::event ormrq(cl::sycl::queue &queue, oneapi::math::side side, oneapi::math::transpose trans, std::int64_t m, std::int64_t n, std::int64_t k, const T *a, std::int64_t lda, const T *tau, T *c, std::int64_t ldc, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
}

.. container:: section
4 changes: 2 additions & 2 deletions source/elements/oneMath/source/domains/lapack/ormtr.rst
Original file line number Diff line number Diff line change
@@ -158,8 +158,8 @@ ormtr (USM Version)

.. code-block:: cpp

namespace oneapi::mkl::lapack {
cl::sycl::event ormtr(cl::sycl::queue &queue, oneapi::mkl::side side, oneapi::mkl::uplo upper_lower, oneapi::mkl::transpose trans, std::int64_t m, std::int64_t n, const T *a, std::int64_t lda, const T *tau, T *c, std::int64_t ldc, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
namespace oneapi::math::lapack {
cl::sycl::event ormtr(cl::sycl::queue &queue, oneapi::math::side side, oneapi::math::uplo upper_lower, oneapi::math::transpose trans, std::int64_t m, std::int64_t n, const T *a, std::int64_t lda, const T *tau, T *c, std::int64_t ldc, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
}

.. container:: section
4 changes: 2 additions & 2 deletions source/elements/oneMath/source/domains/lapack/potrs.rst
Original file line number Diff line number Diff line change
@@ -139,8 +139,8 @@ potrs (USM Version)

.. code-block:: cpp

namespace oneapi::mkl::lapack {
cl::sycl::event potrs(cl::sycl::queue &queue, oneapi::mkl::uplo upper_lower, std::int64_t n, std::int64_t nrhs, const T *a, std::int64_t lda, T *b, std::int64_t ldb, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
namespace oneapi::math::lapack {
cl::sycl::event potrs(cl::sycl::queue &queue, oneapi::math::uplo upper_lower, std::int64_t n, std::int64_t nrhs, const T *a, std::int64_t lda, T *b, std::int64_t ldb, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
}

.. container:: section
8 changes: 4 additions & 4 deletions source/elements/oneMath/source/domains/lapack/potrs_batch.rst
Original file line number Diff line number Diff line change
@@ -149,8 +149,8 @@ The USM version of ``potrs_batch`` supports the group API and strided API.

.. code-block:: cpp

namespace oneapi::mkl::lapack {
cl::sycl::event potrs_batch(cl::sycl::queue &queue, mkl::uplo *uplo, std::int64_t *n, std::int64_t *nrhs, const T * const *a, std::int64_t *lda, T **b, std::int64_t *ldb, std::int64_t group_count, std::int64_t *group_sizes, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
namespace oneapi::math::lapack {
cl::sycl::event potrs_batch(cl::sycl::queue &queue, math::uplo *uplo, std::int64_t *n, std::int64_t *nrhs, const T * const *a, std::int64_t *lda, T **b, std::int64_t *ldb, std::int64_t group_count, std::int64_t *group_sizes, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
}

.. container:: section
@@ -255,8 +255,8 @@ This routine shall throw the following exceptions if the associated condition is

.. code-block:: cpp

namespace oneapi::mkl::lapack {
cl::sycl::event potrs_batch(cl::sycl::queue &queue, mkl::uplo uplo, std::int64_t n, std::int64_t nrhs, const T *a, std::int64_t lda, std::int64_t stride_a, T *b, std::int64_t ldb, std::int64_t stride_b, std::int64_t batch_size, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
namespace oneapi::math::lapack {
cl::sycl::event potrs_batch(cl::sycl::queue &queue, math::uplo uplo, std::int64_t n, std::int64_t nrhs, const T *a, std::int64_t lda, std::int64_t stride_a, T *b, std::int64_t ldb, std::int64_t stride_b, std::int64_t batch_size, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
};

.. container:: section
4 changes: 2 additions & 2 deletions source/elements/oneMath/source/domains/lapack/trtrs.rst
Original file line number Diff line number Diff line change
@@ -146,8 +146,8 @@ trtrs (USM Version)

.. code-block:: cpp

namespace oneapi::mkl::lapack {
cl::sycl::event trtrs(cl::sycl::queue &queue, oneapi::mkl::uplo upper_lower, oneapi::mkl::transpose transa, oneapi::mkl::diag unit_diag, std::int64_t n, std::int64_t nrhs, const T *a, std::int64_t lda, T *b, std::int64_t ldb, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
namespace oneapi::math::lapack {
cl::sycl::event trtrs(cl::sycl::queue &queue, oneapi::math::uplo upper_lower, oneapi::math::transpose transa, oneapi::math::diag unit_diag, std::int64_t n, std::int64_t nrhs, const T *a, std::int64_t lda, T *b, std::int64_t ldb, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
}

.. container:: section
4 changes: 2 additions & 2 deletions source/elements/oneMath/source/domains/lapack/ungbr.rst
Original file line number Diff line number Diff line change
@@ -170,8 +170,8 @@ ungbr (USM Version)

.. code-block:: cpp

namespace oneapi::mkl::lapack {
cl::sycl::event ungbr(cl::sycl::queue &queue, oneapi::mkl::generate gen, std::int64_t m, std::int64_t n, std::int64_t k, T *a, std::int64_t lda, const T *tau, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
namespace oneapi::math::lapack {
cl::sycl::event ungbr(cl::sycl::queue &queue, oneapi::math::generate gen, std::int64_t m, std::int64_t n, std::int64_t k, T *a, std::int64_t lda, const T *tau, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
}

.. container:: section
2 changes: 1 addition & 1 deletion source/elements/oneMath/source/domains/lapack/ungqr.rst
Original file line number Diff line number Diff line change
@@ -145,7 +145,7 @@ ungqr (USM Version)

.. code-block:: cpp

namespace oneapi::mkl::lapack {
namespace oneapi::math::lapack {
cl::sycl::event ungqr(cl::sycl::queue &queue, std::int64_t m, std::int64_t n, std::int64_t k, T *a, std::int64_t lda, const T *tau, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
}

4 changes: 2 additions & 2 deletions source/elements/oneMath/source/domains/lapack/ungqr_batch.rst
Original file line number Diff line number Diff line change
@@ -155,7 +155,7 @@ The USM version of ``ungqr_batch`` supports the group API and strided API.

.. code-block:: cpp

namespace oneapi::mkl::lapack {
namespace oneapi::math::lapack {
cl::sycl::event ungqr_batch(cl::sycl::queue &queue, std::int64_t *m, std::int64_t *n, std::int64_t *k, T **a, std::int64_t *lda, const T * const *tau, std::int64_t group_count, std::int64_t *group_sizes, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
}

@@ -253,7 +253,7 @@ This routine shall throw the following exceptions if the associated condition is

.. code-block:: cpp

namespace oneapi::mkl::lapack {
namespace oneapi::math::lapack {
cl::sycl::event ungqr_batch(cl::sycl::queue &queue, std::int64_t m, std::int64_t n, std::int64_t k, T *a, std::int64_t lda, std::int64_t stride_a, const T *tau, std::int64_t stride_tau, std::int64_t batch_size, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
};

4 changes: 2 additions & 2 deletions source/elements/oneMath/source/domains/lapack/ungtr.rst
Original file line number Diff line number Diff line change
@@ -117,8 +117,8 @@ ungtr (USM Version)

.. code-block:: cpp

namespace oneapi::mkl::lapack {
cl::sycl::event ungtr(cl::sycl::queue &queue, oneapi::mkl::uplo upper_lower, std::int64_t n, T *a, std::int64_t lda, const T *tau, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
namespace oneapi::math::lapack {
cl::sycl::event ungtr(cl::sycl::queue &queue, oneapi::math::uplo upper_lower, std::int64_t n, T *a, std::int64_t lda, const T *tau, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
}

.. container:: section
4 changes: 2 additions & 2 deletions source/elements/oneMath/source/domains/lapack/unmqr.rst
Original file line number Diff line number Diff line change
@@ -147,8 +147,8 @@ unmqr (USM Version)

.. code-block:: cpp

namespace oneapi::mkl::lapack {
cl::sycl::event unmqr(cl::sycl::queue &queue, oneapi::mkl::side side, oneapi::mkl::transpose trans, std::int64_t m, std::int64_t n, std::int64_t k, const T *a, std::int64_t lda, const T *tau, T *c, std::int64_t ldc, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
namespace oneapi::math::lapack {
cl::sycl::event unmqr(cl::sycl::queue &queue, oneapi::math::side side, oneapi::math::transpose trans, std::int64_t m, std::int64_t n, std::int64_t k, const T *a, std::int64_t lda, const T *tau, T *c, std::int64_t ldc, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
}

.. container:: section
4 changes: 2 additions & 2 deletions source/elements/oneMath/source/domains/lapack/unmrq.rst
Original file line number Diff line number Diff line change
@@ -147,8 +147,8 @@ unmrq (USM Version)

.. code-block:: cpp

namespace oneapi::mkl::lapack {
cl::sycl::event unmrq(cl::sycl::queue &queue, oneapi::mkl::side side, oneapi::mkl::transpose trans, std::int64_t m, std::int64_t n, std::int64_t k, const T *a, std::int64_t lda, const T *tau, T *c, std::int64_t ldc, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
namespace oneapi::math::lapack {
cl::sycl::event unmrq(cl::sycl::queue &queue, oneapi::math::side side, oneapi::math::transpose trans, std::int64_t m, std::int64_t n, std::int64_t k, const T *a, std::int64_t lda, const T *tau, T *c, std::int64_t ldc, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
}

.. container:: section
4 changes: 2 additions & 2 deletions source/elements/oneMath/source/domains/lapack/unmtr.rst
Original file line number Diff line number Diff line change
@@ -169,8 +169,8 @@ unmtr (USM Version)

.. code-block:: cpp

namespace oneapi::mkl::lapack {
cl::sycl::event unmtr(cl::sycl::queue &queue, oneapi::mkl::side side, oneapi::mkl::uplo upper_lower, oneapi::mkl::transpose trans, std::int64_t m, std::int64_t n, const T *a, std::int64_t lda, const T *tau, T *c, std::int64_t ldc, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
namespace oneapi::math::lapack {
cl::sycl::event unmtr(cl::sycl::queue &queue, oneapi::math::side side, oneapi::math::uplo upper_lower, oneapi::math::transpose trans, std::int64_t m, std::int64_t n, const T *a, std::int64_t lda, const T *tau, T *c, std::int64_t ldc, T *scratchpad, std::int64_t scratchpad_size, const std::vector<cl::sycl::event> &events = {})
}

.. container:: section