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
Rename macros from ONEMKL to ONEMATH
Rename macros for domain and for version

Signed-off-by: nscipione <[email protected]>
s-Nick committed Oct 24, 2024
commit 5149a8c0b058eddcdfd1b0d68434193e29089dd0
Original file line number Diff line number Diff line change
@@ -18,13 +18,13 @@ Each oneMath domain must define a preprocessor macro to represent the version of

The macros for each domain are listed as follows:

| ONEMKL_BLAS_SPEC_VERSION
| ONEMKL_LAPACK_SPEC_VERSION
| ONEMKL_SPBLAS_SPEC_VERSION
| ONEMKL_DFT_SPEC_VERSION
| ONEMKL_RNG_SPEC_VERSION
| ONEMKL_STATS_SPEC_VERSION
| ONEMKL_VM_SPEC_VERSION
| ONEMATH_BLAS_SPEC_VERSION
| ONEMATH_LAPACK_SPEC_VERSION
| ONEMATH_SPBLAS_SPEC_VERSION
| ONEMATH_DFT_SPEC_VERSION
| ONEMATH_RNG_SPEC_VERSION
| ONEMATH_STATS_SPEC_VERSION
| ONEMATH_VM_SPEC_VERSION

The specification version can be created by appending all digits of the specification version in the format of <MAJOR><MINOR>. MINOR version always uses two digits. This version can be used to check the compatibility of the implementation with the specification version. Note that the revision is not included here because it reflects changes only for the specification document without affecting the implementation. If the implementation is not compliant with any release of the specification, then the macro must have a numerical value of `000`.

@@ -39,13 +39,13 @@ Macro Example
.. code-block:: c

// For oneAPI 1.2 rev 1
#define ONEMKL_BLAS_SPEC_VERSION 102
#define ONEMATH_BLAS_SPEC_VERSION 102

// For oneAPI 1.2 rev 2
#define ONEMKL_DFT_SPEC_VERSION 102
#define ONEMATH_DFT_SPEC_VERSION 102

// For oneAPI 1.3 rev 1
#define ONEMKL_VM_SPEC_VERSION 103
#define ONEMATH_VM_SPEC_VERSION 103

Versioning details are defined here: https://github.com/uxlfoundation/oneAPI-spec/blob/main/doc/versioning.rst#provisional-versions