File tree Expand file tree Collapse file tree 5 files changed +14
-5
lines changed
Expand file tree Collapse file tree 5 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,13 @@ endif()
1616# Download dependencies
1717include (FetchContent)
1818
19+ if (ENABLE_ONEMKL_IESPBLAS)
20+ find_package (MKL REQUIRED)
21+ target_link_libraries (spblas INTERFACE MKL::MKL) # C APIs
22+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DSPBLAS_ENABLE_ONEMKL_IESPBLAS" )
23+ endif ()
24+
25+
1926if (ENABLE_ONEMKL_SYCL)
2027 find_package (MKL REQUIRED)
2128 target_link_libraries (spblas INTERFACE MKL::MKL_SYCL) # SYCL APIs
Original file line number Diff line number Diff line change 66#include < spblas/backend/generate.hpp>
77#include < spblas/backend/view_customizations.hpp>
88
9+ #ifdef SPBLAS_ENABLE_ONEMKL_IESPBLAS
10+ #include < spblas/vendor/onemkl_iespblas/onemkl_iespblas.hpp>
11+ #endif
12+
913#ifdef SPBLAS_ENABLE_ONEMKL_SYCL
1014#include < spblas/vendor/onemkl_sycl/onemkl_sycl.hpp>
1115#endif
Original file line number Diff line number Diff line change 44#include < algorithm>
55#include " mkl.h"
66
7- #include < spblas/backend/log.hpp>
8-
97#include " mkl_wrappers.hpp"
108#include < spblas/detail/operation_info_t.hpp>
119#include < spblas/detail/ranges.hpp>
1210#include < spblas/detail/view_inspectors.hpp>
11+ #include < spblas/detail/log.hpp>
1312
1413//
1514// Defines the following APIs for SpGEMM:
Original file line number Diff line number Diff line change 22
33#include " mkl.h"
44
5- #include < spblas/backend/log.hpp>
6-
75#include " mkl_wrappers.hpp"
86#include < spblas/detail/operation_info_t.hpp>
97#include < spblas/detail/ranges.hpp>
108#include < spblas/detail/view_inspectors.hpp>
9+ #include < spblas/detail/log.hpp>
1110
1211//
1312// Defines the following APIs for SpMM:
Original file line number Diff line number Diff line change 22
33#include " mkl.h"
44
5- #include < spblas/backend/log.hpp>
65
76#include " mkl_wrappers.hpp"
87#include < spblas/detail/operation_info_t.hpp>
98#include < spblas/detail/ranges.hpp>
109#include < spblas/detail/view_inspectors.hpp>
10+ #include < spblas/detail/log.hpp>
1111
1212//
1313// Defines the following APIs for SpMV:
You can’t perform that action at this time.
0 commit comments