blob: 5d9a8709dea08602dd73c3734968743a9224b7dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
Mask unused dlopen/dlsym functions when rocsparse is linked directly
https://github.com/ROCm/rocm-libraries/issues/2585
--- a/library/src/refact/rocsolver_rfinfo.cpp
+++ b/library/src/refact/rocsolver_rfinfo.cpp
@@ -62,6 +62,8 @@
} \
} while(0)
+#ifndef HAVE_ROCSPARSE
+
ROCSOLVER_BEGIN_NAMESPACE
template <typename Fn>
@@ -217,6 +219,8 @@ static bool try_load_rocsparse()
ROCSOLVER_END_NAMESPACE
+#endif // HAVE_ROCSPARSE
+
extern "C" rocblas_status rocsolver_create_rfinfo(rocsolver_rfinfo* rfinfo, rocblas_handle handle)
{
#ifndef HAVE_ROCSPARSE
|