Skip to content

Commit

Permalink
cherry pick version macros from tbb and dal (#266)
Browse files Browse the repository at this point in the history
* oneDAL spec version removal (#264)

* oneDAL spec version removed

* added spec version notion

* Remove oneTBB spec version macro (#265)

Addresses #253. The proper definition of the macro should be added later.

Signed-off-by: Fedotov, Aleksei <aleksei.fedotov@intel.com>

Co-authored-by: Michael Smirnov <michael.smirnov@intel.com>
Co-authored-by: Aleksei Fedotov <aleksei.fedotov@intel.com>
  • Loading branch information
3 people authored Nov 17, 2020
1 parent 36228fd commit 759bf47
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,4 @@ Current Version of this |dal_short_name| Specification
======================================================

This is the |dal_short_name| specification which is part of the oneAPI
specification version 1.0. Any library which implements to this version of the
|dal_short_name| spec should include a macro, ``ONEDAL_SPEC_VERSION``, with
value “1.0” (#define ONEDAL_SPEC_VERSION “1.0”).
specification version 1.0.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ version and runtime information.
// Defined in header <tbb/version.h>
#define TBB_SPEC_VERSION 1.0
#define TBB_VERSION_MAJOR /*implementation-defined*/
#define TBB_VERSION_MINOR /*implementation-defined*/
#define TBB_VERSION_STRING /*implementation-defined*/
Expand All @@ -31,8 +29,6 @@ version and runtime information.

oneTBB defines macros related to versioning, as described below.

* ``TBB_SPEC_VERSION`` macro defined to the full specification version in the format: [major_version].[minor_version].
The current version is 1.0.
* ``TBB_VERSION_MAJOR`` macro defined to integral value that represents major library version.
* ``TBB_VERSION_MINOR`` macro defined to integral value that represents minor library version.
* ``TBB_VERSION_STRING`` macro defined to the string representation of the full library version.
Expand Down

0 comments on commit 759bf47

Please sign in to comment.