|
1 | 1 | Intel® Data Mover Library (Intel® DML) Beta
|
2 | 2 | =================================================
|
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) |
4 | 4 |
|
5 | 5 | 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.
|
6 | 6 |
|
7 | 7 | ## Get Started
|
8 | 8 |
|
9 |
| -### Prerequisites |
| 9 | +To get started with Intel DML, follow instructions below: |
10 | 10 |
|
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). |
13 | 12 |
|
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. |
15 | 14 |
|
16 |
| -To build the library, complete the following steps: |
| 15 | +## Documentation |
17 | 16 |
|
18 |
| -1. Make sure that all the tools from the Prerequisites section are available from your environment. |
| 17 | +### Online Documentation |
19 | 18 |
|
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). |
21 | 20 |
|
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 |
54 | 22 |
|
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. |
65 | 24 |
|
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: |
72 | 26 |
|
73 | 27 | ```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 |
76 | 30 | ```
|
77 | 31 |
|
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. |
95 | 33 |
|
96 | 34 | ## How to Contribute
|
97 | 35 |
|
|
0 commit comments