@@ -16,7 +16,7 @@ The ``<dml_library>/examples/dml_job_api/job_wrapper_examples.c`` source
1616file contains a number of simple examples, illustrating how you can use
1717Intel DML.
1818
19- The wrapper’ s descriptions are placed in the ``dml_examples.h ``
19+ The wrapper' s descriptions are placed in the ``dml_examples.h ``
2020header file.
2121
2222The examples are compiled during the Intel DML project compilation or
@@ -27,3 +27,106 @@ as a separate CMake target (``job_api_samples``).
2727 These examples are intended to be illustrative and functional,
2828 but they are not intended to be examples of a complete implementation.
2929 In particular, their handling of error conditions is rather primitive.
30+
31+
32+ Multi-Socket Library Usage
33+ ==========================
34+
35+
36+ This sample shows how to utilize several sockets on the system using manual ``numa_id ``
37+ setting in the ``dml_job_t `` structure. Thus, the ``memory_move `` operation can be applied
38+ to one data array using several sockets at the same time.
39+
40+
41+ .. literalinclude :: ../../../../examples/multisocket.c
42+ :language: c
43+
44+
45+ High-level C++ API Examples
46+ ***************************
47+
48+
49+ cache_flush
50+ ===========
51+
52+
53+ .. literalinclude :: ../../../../examples/high_level_api/cache_flush.cpp
54+ :language: cpp
55+
56+
57+ compare_pattern
58+ ===============
59+
60+
61+ .. literalinclude :: ../../../../examples/high_level_api/compare_pattern.cpp
62+ :language: cpp
63+
64+
65+ compare
66+ =======
67+
68+
69+ .. literalinclude :: ../../../../examples/high_level_api/compare.cpp
70+ :language: cpp
71+
72+
73+ copy_crc
74+ ========
75+
76+
77+ .. literalinclude :: ../../../../examples/high_level_api/copy_crc.cpp
78+ :language: cpp
79+
80+
81+ crc
82+ ===
83+
84+
85+ .. literalinclude :: ../../../../examples/high_level_api/crc.cpp
86+ :language: cpp
87+
88+
89+ delta
90+ =====
91+
92+
93+ .. literalinclude :: ../../../../examples/high_level_api/delta.cpp
94+ :language: cpp
95+
96+
97+ dualcast
98+ ========
99+
100+
101+ .. literalinclude :: ../../../../examples/high_level_api/dualcast.cpp
102+ :language: cpp
103+
104+
105+ fill
106+ ====
107+
108+
109+ .. literalinclude :: ../../../../examples/high_level_api/fill.cpp
110+ :language: cpp
111+
112+
113+ mem_move
114+ ========
115+
116+
117+ .. literalinclude :: ../../../../examples/high_level_api/mem_move.cpp
118+ :language: cpp
119+
120+
121+
122+ Multi-Socket Library Usage
123+ ==========================
124+
125+
126+ This sample shows how to utilize several sockets on the system.
127+ Thus, the ``memory_move `` operation can be applied
128+ to one data array using several sockets at the same time.
129+
130+
131+ .. literalinclude :: ../../../../examples/multisocket.cpp
132+ :language: cpp
0 commit comments