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

Add the macro for the supported specification version #1899

Open
akukanov opened this issue Oct 14, 2024 · 0 comments
Open

Add the macro for the supported specification version #1899

akukanov opened this issue Oct 14, 2024 · 0 comments

Comments

@akukanov
Copy link
Contributor

akukanov commented Oct 14, 2024

Summary:

Implement the macro for the supported specification version, as described in uxlfoundation/oneAPI-spec#591:

// Defined in <oneapi/dpl/version>
#define ONEDPL_SPEC_VERSION /*implementation-defined*/

The ONEDPL_SPEC_VERSION macro must be defined to the decimal literal whose value equals to
major-spec-version * 100 + minor-spec-version, where major-spec-version and minor-spec-version
are the major and the minor versions of the latest fully supported specification.

The macro also needs to be documented in the developer guide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant