@@ -56,7 +56,7 @@ There are two oneMKL selector layer implementations:
56
56
Example of app.cpp with run-time dispatching:
57
57
58
58
``` cpp
59
- include " oneapi/mkl.hpp"
59
+ # include " oneapi/mkl.hpp"
60
60
61
61
...
62
62
cpu_dev = cl::sycl::device(cl::sycl::cpu_selector());
@@ -80,7 +80,7 @@ $> clang++ -fsycl app.o –L$ONEMKL/lib –lonemkl
80
80
Example of app.cpp with compile-time dispatching:
81
81
82
82
``` cpp
83
- include " oneapi/mkl.hpp"
83
+ # include " oneapi/mkl.hpp"
84
84
85
85
...
86
86
cpu_dev = cl::sycl::device(cl::sycl::cpu_selector());
@@ -482,7 +482,7 @@ Then:
482
482
# Inside <path to onemkl>
483
483
mkdir build && cd build
484
484
export CXX=< path_to_dpcpp_compiler> /bin/dpcpp;
485
- cmake .. [-DMKL_ROOT=< mkl_install_prefix> ] \ # required only if enviroment variable MKLROOT is not set
485
+ cmake .. [-DMKL_ROOT=< mkl_install_prefix> ] \ # required only if environment variable MKLROOT is not set
486
486
[-DREF_BLAS_ROOT=< reference_blas_install_prefix> ] # required only for testing
487
487
cmake --build .
488
488
ctest
@@ -493,7 +493,7 @@ cmake --install . --prefix <path_to_install_dir>
493
493
# Inside <path to onemkl>
494
494
md build && cd build
495
495
cmake .. -G Ninja -DCMAKE_TOOLCHAIN_FILE=" ..\cmake\toolchain\intel_clang-cl-toolchain.cmake"
496
- [-DMKL_ROOT=< mkl_install_prefix> ] \ # required only if enviroment variable MKLROOT is not set
496
+ [-DMKL_ROOT=< mkl_install_prefix> ] \ # required only if environment variable MKLROOT is not set
497
497
[-DREF_BLAS_ROOT=< reference_blas_install_prefix> ] # required only for testing
498
498
499
499
ninja
0 commit comments