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

Commit 2bbcac3

Browse files
committed
DML release v0.1.7-beta
1 parent 64ce5ff commit 2bbcac3

File tree

100 files changed

+6458
-3568
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+6458
-3568
lines changed

CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#
1515

1616
cmake_minimum_required(VERSION 3.12 FATAL_ERROR)
17-
project(Dml VERSION 0.1.6 LANGUAGES C CXX)
17+
project(Dml VERSION 0.1.7 LANGUAGES C CXX)
1818

1919
set(PROJECT_SOVERSION 0)
2020

@@ -27,7 +27,6 @@ else()
2727
set(DML_RECORD_SWITCHES OFF CACHE BOOL "Disable recording of switches for non-gnu compiler" FORCE)
2828
endif()
2929

30-
# TODO: Remove all options below
3130
option(LOG_HW_INIT "Enables HW initialization log" OFF)
3231
option(EFFICIENT_WAIT "Enables usage of umonitor/umwait" OFF)
3332

@@ -67,7 +66,6 @@ endif()
6766
get_git_revision()
6867

6968
add_subdirectory(sources)
70-
add_subdirectory(examples)
7169

7270
# Install rules
7371
install(EXPORT ${PROJECT_NAME}Targets

Doxyfile

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ PROJECT_NAME = "Intel DML Library"
5353
# could be handy for archiving the generated documentation or if some version
5454
# control system is used.
5555

56-
PROJECT_NUMBER = "v0.1.6-beta"
56+
PROJECT_NUMBER = "v0.1.7-beta"
5757

5858
# Using the PROJECT_BRIEF tag one can provide an optional one line description
5959
# for a project that appears at the top of each page and should give viewer a
@@ -73,7 +73,7 @@ PROJECT_LOGO =
7373
# entered, it will be relative to the location where doxygen was started. If
7474
# left blank the current directory will be used.
7575

76-
OUTPUT_DIRECTORY = doc
76+
OUTPUT_DIRECTORY = doc/build
7777

7878
# If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub-
7979
# directories (in 2 levels) under the output directory of each output format and
@@ -831,14 +831,7 @@ WARN_LOGFILE =
831831
# Note: If this tag is empty the current directory is searched.
832832

833833
INPUT = examples \
834-
README.md \
835-
CONTRIBUTING.md \
836-
SECURITY.md \
837-
include \
838-
doc/LOW_LEVEL_API_GUIDE.md \
839-
doc/HIGH_LEVEL_API_GUIDE.md \
840-
doc/DML_REFERENCE_MANUAL.md \
841-
doc/RELEASE_NOTES.md
834+
include
842835

843836
# This tag can be used to specify the character encoding of the source files
844837
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
@@ -960,12 +953,15 @@ EXCLUDE_SYMBOLS = *_H__ \
960953
DML_CORE_CHECK_* \
961954
DML_BAD_* \
962955
DML_PACKED_STRUCT_DECLARATION* \
956+
TEST_REGISTER* \
963957
NULL \
964958
DML_FUN \
965959
OWN_API \
966960
OWN_FUN \
967961
OWN_API_INLINE \
968-
OWN_FUN_INLINE
962+
OWN_FUN_INLINE \
963+
DML_JOB_API_TEST_REGISTER \
964+
DML_UNIT_TEST_REGISTER
969965

970966
# The EXAMPLE_PATH tag can be used to specify one or more files or directories
971967
# that contain example code fragments that are included (see the \include
@@ -1161,15 +1157,15 @@ IGNORE_PREFIX =
11611157
# If the GENERATE_HTML tag is set to YES, doxygen will generate HTML output
11621158
# The default value is: YES.
11631159

1164-
GENERATE_HTML = YES
1160+
GENERATE_HTML = NO
11651161

11661162
# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. If a
11671163
# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
11681164
# it.
11691165
# The default directory is: html.
11701166
# This tag requires that the tag GENERATE_HTML is set to YES.
11711167

1172-
HTML_OUTPUT = html
1168+
HTML_OUTPUT = doxygen_html
11731169

11741170
# The HTML_FILE_EXTENSION tag can be used to specify the file extension for each
11751171
# generated HTML page (for example: .htm, .php, .asp).
@@ -2024,15 +2020,15 @@ MAN_LINKS = NO
20242020
# captures the structure of the code including all documentation.
20252021
# The default value is: NO.
20262022

2027-
GENERATE_XML = NO
2023+
GENERATE_XML = YES
20282024

20292025
# The XML_OUTPUT tag is used to specify where the XML pages will be put. If a
20302026
# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
20312027
# it.
20322028
# The default directory is: xml.
20332029
# This tag requires that the tag GENERATE_XML is set to YES.
20342030

2035-
XML_OUTPUT = xml
2031+
XML_OUTPUT = doxygen_xml
20362032

20372033
# If the XML_PROGRAMLISTING tag is set to YES, doxygen will dump the program
20382034
# listings (including syntax highlighting and cross-referencing information) to

README.md

Lines changed: 13 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -1,97 +1,35 @@
11
Intel® Data Mover Library (Intel® DML) Beta
22
=================================================
3-
[Get Started](#get-started) | [Documentation](#documentation) | [License](#license) | [GitHub repository](https://github.com/intel-innersource/libraries.performance.accelerators.dml.dml-library.git)
3+
[Get Started](#get-started) | [Documentation](#documentation) | [License](#license) | [GitHub repository](https://github.com/intel/DML)
44

55
Intel® Data Mover Library (Intel® DML) is an open-source library to provide high-performance data manipulation on Intel CPUs. Intel® DML is intended for streaming data movement and transformation operations optimization that is applicable for effective storage, networking, persistent memory, and various data processing applications.
66

77
## Get Started
88

9-
### Prerequisites
9+
To get started with Intel DML, follow instructions below:
1010

11-
To build the library, make sure all system and build requirements are set up.
12-
See [Library Presetting](./doc/DML_REFERENCE_MANUAL.md#library-presetting) section for the list of all requirements.
11+
1. Make sure your system meets all [System Requirements](https://intel.github.io/DML/documentation/introduction_docs/system_requirements.html).
1312

14-
### Build
13+
2. Follow instructions to build the library. See [Installation](https://intel.github.io/DML/documentation/get_started_docs/installation.html) for more details.
1514

16-
To build the library, complete the following steps:
15+
## Documentation
1716

18-
1. Make sure that all the tools from the Prerequisites section are available from your environment.
17+
### Online Documentation
1918

20-
2. Extract git sources using the following command:
19+
Documentation is delivered using GitHub Pages. See full Intel DML [online documentation](https://intel.github.io/DML/index.html).
2120

22-
```shell
23-
git clone --recursive https://github.com/intel/DML.git
24-
```
25-
26-
3. Build the library and tests by executing the following list of commands from \<dml_library\>:
27-
28-
#### Windows* OS
29-
30-
```shell
31-
mkdir build
32-
cd build
33-
cmake -DCMAKE_INSTALL_PREFIX=<install_dir> -G "NMake Makefiles" ..
34-
cmake --build . --target install
35-
```
36-
37-
#### Linux* OS
38-
39-
```shell
40-
mkdir build
41-
cd build
42-
cmake -DCMAKE_INSTALL_PREFIX=<install_dir> ..
43-
cmake --build . --target install
44-
```
45-
46-
Note: If you need to build a particular type of the library and tests (`DEBUG`|`RELEASE`), use the `CMAKE_BUILD_TYPE` flag as follows:
47-
48-
```shell
49-
# Debug
50-
cmake -DCMAKE_BUILD_TYPE=Debug <path_to_cmake_folder>
51-
52-
# Release
53-
cmake -DCMAKE_BUILD_TYPE=Release <path_to_cmake_folder>
21+
### Offline Documentation
5422

55-
# Release with debug information
56-
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo <path_to_cmake_folder>
57-
```
58-
59-
Note:
60-
- CMake generates the script for release build as default.
61-
62-
- On Linux* OS, the default `<install_dir>` is `/usr/local/`.
63-
64-
- The library builds by default with software path only. If you need to build the library with enabled hardware, use the DML_HW option as follows:
23+
**Note**: Before building Intel DML offline documentation, make sure you have all documentation generation tools properly installed and set up. See, [Documentation Build Prerequisites](https://intel.github.io/DML/documentation/get_started_docs/installation.html#documentation-build-prerequisites) for more details.
6524

66-
```shell
67-
# Enable hardware path
68-
cmake -DCMAKE_BUILD_TYPE=Release -DDML_HW=ON <path_to_cmake_folder>
69-
```
70-
71-
- To enable `-frecord-gcc-switches` flag, use the DML_RECORD_SWITCHES option as follows:
25+
To generate full offline documentation from sources, use the following commands:
7226

7327
```shell
74-
# Enable -frecord-gcc-switches
75-
cmake -DCMAKE_BUILD_TYPE=Release -DDML_RECORD_SWITCHES=ON <path_to_cmake_folder>
28+
cmd> cd <dml_library catalog path>/doc
29+
cmd> _get_docs.sh
7630
```
7731

78-
The resulting library is available in the `<install_dir>/lib` folder.
79-
80-
## Documentation
81-
82-
- [Intel DML Reference Manual](./doc/DML_REFERENCE_MANUAL.md)
83-
- [Security Policy](./SECURITY.md)
84-
85-
To generate full documentation from sources with Doxygen, use the following commands:
86-
87-
```shell
88-
cmd> cd <dml_library catalog path>
89-
cmd> doxygen ./Doxyfile
90-
```
91-
92-
To open the generated HTML Reference, open the `<dml_library>/doc/html/index.html` file.
93-
94-
***Note:*** You can find the Doxygen processor at [Doxygen official site](http://www.doxygen.nl/).
32+
After generation process is completed, open the `<dml_library>/doc/build/html/index.html` file.
9533

9634
## How to Contribute
9735

0 commit comments

Comments
 (0)