diff options
author | 2022-12-18 14:10:39 +0100 | |
---|---|---|
committer | 2022-12-19 15:00:04 +0100 | |
commit | 4a1a80febf086efb37f3dff5d714191f9e126476 (patch) | |
tree | 39fd84e2fcd3d1d40668bfb0239b176d9c25533f /sci-libs/rocBLAS/files/rocBLAS-4.3.0-change-default-Tensile-library-dir.patch | |
parent | sci-libs/hipSPARSE: drop 4.0.0-r2, 4.3.0-r2 (diff) | |
download | gentoo-4a1a80febf086efb37f3dff5d714191f9e126476.tar.gz gentoo-4a1a80febf086efb37f3dff5d714191f9e126476.tar.bz2 gentoo-4a1a80febf086efb37f3dff5d714191f9e126476.zip |
sci-libs/rocBLAS: drop 4.3.0, 4.3.0-r1
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sci-libs/rocBLAS/files/rocBLAS-4.3.0-change-default-Tensile-library-dir.patch')
-rw-r--r-- | sci-libs/rocBLAS/files/rocBLAS-4.3.0-change-default-Tensile-library-dir.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/sci-libs/rocBLAS/files/rocBLAS-4.3.0-change-default-Tensile-library-dir.patch b/sci-libs/rocBLAS/files/rocBLAS-4.3.0-change-default-Tensile-library-dir.patch deleted file mode 100644 index 1841424c6e56..000000000000 --- a/sci-libs/rocBLAS/files/rocBLAS-4.3.0-change-default-Tensile-library-dir.patch +++ /dev/null @@ -1,39 +0,0 @@ -change the default rocm tensile library search path ---- orig/library/src/tensile_host.cpp 2021-08-21 17:56:47.040481580 +0800 -+++ rocBLAS-rocm-4.3.0/library/src/tensile_host.cpp 2021-08-21 17:58:46.360482372 +0800 -@@ -489,34 +489,7 @@ namespace - } - else - { --#ifndef ROCBLAS_STATIC_LIB -- Dl_info info; -- -- // Find the location of librocblas.so -- // Fall back on hard-coded path if static library or not found -- // [Use a C API (rocblas_sccal) *not* defined in this file to -- // avoid compile-time resolution of the function pointer; cf. -- // https://man7.org/linux/man-pages/man3/dladdr.3.html "BUGS"] -- -- if(dladdr((void*)rocblas_sscal, &info)) -- { -- path = info.dli_fname; -- path = std::string{dirname(&path[0])}; -- } -- else --#endif -- { -- path = "/opt/rocm/rocblas/lib"; -- } -- -- // Find the location of the libraries -- if(TestPath(path + "/../../Tensile/library")) -- path += "/../../Tensile/library"; -- else -- path += "/library"; -- -- if(TestPath(path + "/" + processor)) -- path += "/" + processor; -+ path="@GENTOO_PORTAGE_EPREFIX@/usr/lib64/rocblas/library"; - } - - // only load modules for the current architecture |