File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
examples/pybind11/onemkl_gemv Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ find_library(mkl_sycl NAMES mkl_sycl PATHS ${MKL_LIBRARY_DIR} REQUIRED)
30
30
find_library (mkl_intel_ilp64 NAMES mkl_intel_ilp64 PATHS ${MKL_LIBRARY_DIR} REQUIRED )
31
31
find_library (mkl_tbb_thread NAMES mkl_tbb_thread PATHS ${MKL_LIBRARY_DIR} REQUIRED )
32
32
find_library (tbb NAMES tbb PATHS ${TBB_LIBRARY_DIR} REQUIRED )
33
+ find_library (OpenCL NAMES OpenCL REQUIRED )
33
34
34
35
set (py_module_name _onemkl )
35
36
@@ -64,7 +65,7 @@ target_include_directories(standalone_cpp
64
65
PUBLIC ${MKL_INCLUDE_DIR} ${TBB_INCLUDE_DIR} sycl_gemm
65
66
)
66
67
target_link_libraries (standalone_cpp
67
- PRIVATE ${mkl_sycl} ${mkl_intel_ilp64} ${mkl_tbb_thread} ${mkl_core} ${tbb}
68
+ PRIVATE ${mkl_sycl} ${mkl_intel_ilp64} ${mkl_tbb_thread} ${mkl_core} ${tbb} ${OpenCL}
68
69
)
69
70
70
71
set (ignoreMe "${SKBUILD} " )
You can’t perform that action at this time.
0 commit comments