22
33< html >
44 < head >
5- < meta charset ="utf-8 " />
6- < link rel ="stylesheet " href ="../../Static/css/reveal.css " />
7- < link
8- rel ="stylesheet "
9- href ="../../Static/css/theme/white.css "
10- />
11- < link rel ="stylesheet " href ="../../Static/css/custom.css " />
12- < link
13- rel ="stylesheet "
14- href ="../../Static/css/atom-one-light.css "
15- />
5+ < meta charset ="utf-8 "/>
6+ < link rel ="stylesheet " href ="../../Static/css/reveal.css "/>
7+ < link rel ="stylesheet " href ="../../Static/css/theme/white.css "/>
8+ < link rel ="stylesheet " href ="../../Static/css/custom.css "/>
9+ < link rel ="stylesheet " href ="../../Static/css/atom-one-light.css "/>
1610 < script src ="../../node_modules/reveal.js/dist/reveal.js " defer > </ script >
1711 < script src ="../../node_modules/reveal.js/dist/plugin/markdown.js " defer > </ script >
1812 < script src ="../../node_modules/reveal.js/dist/plugin/highlight.js " defer > </ script >
2519 < div class ="slides ">
2620 <!--Slide 1-->
2721 < section class ="hbox ">
28- < h2 style ="text-transform: none; ">
22+ < h2 style ="text-transform: none; ">
2923 oneAPI Math Library (oneMath)
3024 </ h2 >
3125 </ section >
@@ -59,13 +53,13 @@ <h2 style="text-transform: none;">
5953 * **Intel CPU/GPU**: Intel Math Kernels Library (oneMKL)
6054 * **NVIDIA GPU**: cuBLAS, cuSOLVER, cuRAND, cuFFT
6155 * **AMD GPU**: rocBLAS, rocSOLVER, rocRAND, rocFFT
62- * Imagine being able to use all of them with *single source code* → **oneMath**
56+ * Imagine being able to use all of them with *single source code* **oneMath**
6357 </ div >
6458 </ section >
6559 <!--Slide 5-->
6660 < section >
6761 < div class ="hbox ">
68- < h2 style ="text-transform: none; ">
62+ < h2 style ="text-transform: none; ">
6963 oneAPI and oneMath
7064 </ h2 >
7165 </ div >
@@ -80,14 +74,14 @@ <h2 style="text-transform: none;">
8074 * wrapper implementation dispatching SYCL API calls to a multitude of implementations, both generic and vendor-specific
8175 </ div >
8276 < div class ="container ">
83- < img style ="height:4em; margin-top:2em; " src ="../../Static/images/oneAPI.png " />
77+ < img style ="height:4em; margin-top:2em; " src ="../../Static/images/oneAPI.png "/>
8478 < div style ="display: inline; width: 2em; "> </ div >
85- < img style ="height:4em; margin-top:2em; " src ="../../Static/images/uxl.svg " />
79+ < img style ="height:4em; margin-top:2em; " src ="../../Static/images/uxl.svg "/>
8680 </ div >
8781 </ section >
8882 <!--Slide 6-->
8983 < section >
90- < h2 style ="text-transform: none; ">
84+ < h2 style ="text-transform: none; ">
9185 oneMath library backends
9286 </ h2 >
9387 < object class ="r-stretch " data ="../../Static/images/oneMath-backends.svg "> </ object >
@@ -98,7 +92,7 @@ <h2 style="text-transform: none;">
9892 #### Run-time dispatching
9993 </ div >
10094 < div class ="container ">
101- < pre > < code >
95+ < pre > < code class =" language-cpp " >
10296#include <oneapi/math.hpp>
10397
10498sycl::queue q{myDeviceSelector};
@@ -125,16 +119,16 @@ <h2 style="text-transform: none;">
125119 #### Compile-time dispatching
126120 </ div >
127121 < div class ="container ">
128- < pre > < code >
129- #include <oneapi /math.hpp>
122+ < pre > < code class =" language-cpp " >
123+ #include <oneapi; /math.hpp>
130124
131125sycl::queue cpu_queue{sycl::cpu_selector_v};
132126
133127sycl::buffer<T,1> a{a_host, m*k};
134128sycl::buffer<T,1> b{b_host, k*n};
135129sycl::buffer<T,1> c{c_host, m*n};
136130
137- oneapi::math::backend_selector<oneapi ::math::backend::mklcpu> cpu_selector(cpu_queue);
131+ oneapi::math::backend_selector<oneapi; ::math::backend::mklcpu> cpu_selector(cpu_queue);
138132// Select the Intel oneMKL CPU backend specifically ^^^^^^
139133
140134oneapi::math::blas::column_major::gemm(cpu_selector, ..., m, n, k, ..., a, ..., b, ..., c, ... );
0 commit comments