Skip to content

Commit

Permalink
Address review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
akukanov committed Sep 30, 2024
1 parent 961ec55 commit 478215e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/elements/oneDPL/source/common.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,16 @@ if that is available. -- *end example*]
Version Information
+++++++++++++++++++

A oneDPL implementation must define a preprocessor macro representing the version
of the oneDPL specification that the implementation is compliant with.
A oneDPL implementation must define the following preprocessor macro representing
the version of the oneDPL specification that the implementation is compliant with.

.. code:: cpp
// Defined in <oneapi/dpl/version>
#define ONEDPL_SPEC_VERSION /*implementation-defined*/
The ``ONEDPL_SPEC_VERSION`` macro must be defined to the decimal literal which value equals to
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.
[*Example*: ``#define ONEDPL_SPEC_VERSION 104`` for the oneDPL specification 1.4. -- *end example*]

0 comments on commit 478215e

Please sign in to comment.