Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit 6086665

Browse files
authored
Update DML version to 1.0.0 (#260)
1 parent 7096c54 commit 6086665

File tree

9 files changed

+17
-39
lines changed

9 files changed

+17
-39
lines changed

CMakeLists.txt

+2-4
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ if (UNIX AND "${SANITIZE_THREADS}" STREQUAL "ON")
88
else ()
99
cmake_minimum_required(VERSION 3.12 FATAL_ERROR)
1010
endif ()
11-
project(Dml VERSION 0.1.9 LANGUAGES C CXX)
12-
13-
set(PROJECT_SOVERSION 0)
11+
project(DML VERSION 1.0.0 LANGUAGES C CXX)
1412

1513
if (CMAKE_C_COMPILER_ID STREQUAL "GNU")
1614
option(DML_RECORD_SWITCHES "Enables -frecord-gcc-switches flag" OFF)
@@ -77,7 +75,7 @@ message(STATUS "Build type: ${CMAKE_BUILD_TYPE}")
7775

7876
# Install rules
7977
install(EXPORT ${PROJECT_NAME}Targets
80-
NAMESPACE Dml::
78+
NAMESPACE DML::
8179
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME})
8280

8381
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake

Doxyfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ PROJECT_NAME = "Intel DML Library"
4242
# could be handy for archiving the generated documentation or if some version
4343
# control system is used.
4444

45-
PROJECT_NUMBER = "v0.1.9-beta"
45+
PROJECT_NUMBER = "v1.0.0"
4646

4747
# Using the PROJECT_BRIEF tag one can provide an optional one line description
4848
# for a project that appears at the top of each page and should give viewer a

doc/source/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
project = 'Intel® DML'
2121
copyright = '2022, Intel'
2222
author = 'Intel'
23-
release = 'v0.1.9-beta'
23+
release = 'v1.0.0'
2424

2525
# -- General configuration ---------------------------------------------------
2626

doc/source/documentation/api_docs/high_level_api.rst

+3-12
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,8 @@ This document provides quick introduction into usage of High Level API
1414
for Intel® DML. It describes general usage concepts, main entities and
1515
detailed operation descriptions.
1616

17-
For general introduction to Intel® DML, see `Introduction
18-
<../introduction_docs/introduction.html>`__.
17+
For general introduction to Intel® DML, see :ref:`introduction_reference_link`.
1918

20-
Disclaimer
21-
===========
22-
23-
24-
The library exists in a prototype form and is being actively
25-
developed. This means that some of the things described here may change
26-
in the future. However, the library is released now with the expectation
27-
that it will be more useful than nothing to people who may use it.
2819

2920
Header Files
3021
************
@@ -320,8 +311,8 @@ No-op operation
320311
---------------
321312

322313

323-
The No-op operation can be used in a batch operation to ensure that all
324-
previous operations in the batch completed before the no-op.
314+
The No-op operation can be used in a batch operation to ensure that all
315+
previous operations in the batch completed before the no-op.
325316

326317
This could be useful for ensuring the order of non-independent operations.
327318
Like using the destination of a previous operation as the source of another.

doc/source/documentation/api_docs/low_level_api.rst

+1-10
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,8 @@ This document provides instructions on how to use the Intel® Data Mover Library
1616
It describes general usage concepts, main entities and
1717
detailed operation descriptions.
1818

19-
For general introduction to Intel® DML, see `Introduction
20-
<../introduction_docs/introduction.html>`__.
19+
For general introduction to Intel® DML, see :ref:`introduction_reference_link`.
2120

22-
Disclaimer
23-
===========
24-
25-
26-
The library exists in a prototype form and is being actively
27-
developed. This means that some of the things described here may change
28-
in the future. However, the library is released now with the expectation
29-
that it will be more useful than nothing to people who may use it.
3021

3122
Header Files
3223
************

doc/source/documentation/introduction_docs/introduction.rst

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
.. * SPDX-License-Identifier: MIT
55
.. ***************************************************************************/
66
7+
.. _introduction_reference_link:
8+
79
Introduction
810
############
911

sources/c_api/CMakeLists.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ get_git_revision()
3636

3737
set_property(
3838
SOURCE dml_get_library_version.cpp APPEND
39-
PROPERTY COMPILE_DEFINITIONS DML_GIT_REVISION="${GIT_REV}")
39+
PROPERTY COMPILE_DEFINITIONS DML_GIT_REVISION="${GIT_REV}"
40+
PROPERTY COMPILE_DEFINITIONS DML_LIBRARY_VERSION="${CMAKE_PROJECT_VERSION}")
4041

4142
set_target_properties(dml PROPERTIES
42-
VERSION ${PROJECT_VERSION}
43-
SOVERSION ${PROJECT_SOVERSION})
43+
VERSION ${PROJECT_VERSION})
4444

4545
install(TARGETS dml
4646
EXPORT ${PROJECT_NAME}Targets

sources/c_api/dml_get_library_version.cpp

+3-6
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,14 @@
1515
/** Name of the library*/
1616
#define DML_LIBRARY_NAME "Intel(R) DML Software Library"
1717

18-
/** Version of the library*/
19-
#define DML_LIBRARY_VERSION "Beta"
20-
2118
/** Major version of the library*/
22-
#define DML_LIBRARY_MAJOR_VERSION 0u
19+
#define DML_LIBRARY_MAJOR_VERSION 1u
2320

2421
/** Minor version of the library*/
25-
#define DML_LIBRARY_MINOR_VERSION 1u
22+
#define DML_LIBRARY_MINOR_VERSION 0u
2623

2724
/** Minor version of the library*/
28-
#define DML_LIBRARY_PATCH 9u
25+
#define DML_LIBRARY_PATCH 0u
2926

3027
/** Supported CPU ISA */
3128
#define DML_LIBRARY_MINIMAL_CPU_ISA "N/A"

sources/cpp_api/CMakeLists.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ set_target_properties(dmlhl PROPERTIES
2828
CXX_STANDARD 17
2929
CXX_STANDARD_REQUIRED ON
3030
CXX_EXTENSIONS OFF
31-
VERSION ${PROJECT_VERSION}
32-
SOVERSION ${PROJECT_SOVERSION})
31+
VERSION ${PROJECT_VERSION})
3332

3433
install(TARGETS dmlhl
3534
EXPORT ${PROJECT_NAME}Targets

0 commit comments

Comments
 (0)