summaryrefslogtreecommitdiff
path: root/sci-libs/rocBLAS/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-12-19 19:49:08 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-12-19 19:49:08 +0000
commitf287ecad888abdeb38e617d0485de282cd6819db (patch)
tree874d56500040734c4dbb9e437e0d5ed80a0a1886 /sci-libs/rocBLAS/files
parent844ae757702c53a56ee57056873a8204d256d47e (diff)
gentoo auto-resync : 19:12:2022 - 19:49:08
Diffstat (limited to 'sci-libs/rocBLAS/files')
-rw-r--r--sci-libs/rocBLAS/files/rocBLAS-4.3.0-change-default-Tensile-library-dir.patch39
-rw-r--r--sci-libs/rocBLAS/files/rocBLAS-4.3.0-link-system-blas.patch24
-rw-r--r--sci-libs/rocBLAS/files/rocBLAS-4.3.0-remove-problematic-test-suites.patch22
-rw-r--r--sci-libs/rocBLAS/files/rocBLAS-4.3.0-unbundle-Tensile.patch22
4 files changed, 0 insertions, 107 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
diff --git a/sci-libs/rocBLAS/files/rocBLAS-4.3.0-link-system-blas.patch b/sci-libs/rocBLAS/files/rocBLAS-4.3.0-link-system-blas.patch
deleted file mode 100644
index 184b76d7ef38..000000000000
--- a/sci-libs/rocBLAS/files/rocBLAS-4.3.0-link-system-blas.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-Link system blas libraries rather than the downloaded libraries (in install.sh)
-
---- orig/clients/benchmarks/CMakeLists.txt
-+++ rocBLAS-rocm-4.2.0/clients/benchmarks/CMakeLists.txt
-@@ -49,7 +49,7 @@ target_include_directories( rocblas-benc
- $<BUILD_INTERFACE:${BLIS_INCLUDE_DIR}>
- )
-
--target_link_libraries( rocblas-bench PRIVATE rocblas_fortran_client roc::rocblas lapack cblas )
-+target_link_libraries( rocblas-bench PRIVATE rocblas_fortran_client roc::rocblas lapack cblas -lblas )
- if(LINK_BLIS)
- target_link_libraries( rocblas-bench PRIVATE ${BLIS_LIBRARY} )
- endif()
---- orig/clients/gtest/CMakeLists.txt
-+++ rocBLAS-rocm-4.2.0/clients/gtest/CMakeLists.txt
-@@ -129,7 +129,7 @@ target_include_directories( rocblas-test
- $<BUILD_INTERFACE:${BLIS_INCLUDE_DIR}>
- )
-
--target_link_libraries( rocblas-test PRIVATE rocblas_fortran_client roc::rocblas lapack cblas ${GTEST_LIBRARIES} )
-+target_link_libraries( rocblas-test PRIVATE rocblas_fortran_client roc::rocblas lapack cblas -lblas ${GTEST_LIBRARIES} )
- if(LINK_BLIS)
- target_link_libraries( rocblas-test PRIVATE ${BLIS_LIBRARY} )
- endif()
diff --git a/sci-libs/rocBLAS/files/rocBLAS-4.3.0-remove-problematic-test-suites.patch b/sci-libs/rocBLAS/files/rocBLAS-4.3.0-remove-problematic-test-suites.patch
deleted file mode 100644
index 4265e999f322..000000000000
--- a/sci-libs/rocBLAS/files/rocBLAS-4.3.0-remove-problematic-test-suites.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-Those tests will fail comparing rocblas vs openblas, because the testing program is so strict that it cannot tolerate the numerical differences which is actually OK.
-
-https://github.com/ROCmSoftwarePlatform/rocBLAS/issues/1202
---- orig/clients/gtest/known_bugs.yaml
-+++ rocBLAS-rocm-4.3.0/clients/gtest/known_bugs.yaml
-@@ -7,6 +7,16 @@ Known bugs:
- - { function: gemm_ex, a_type: i8_r, b_type: i8_r, c_type: i32_r, d_type: i32_r, compute_type: i32_r, flags: 0, known_bug_platforms: "gfx900,gfx906,gfx1010,gfx1011,gfx1012,gfx1030" }
- - { function: gemm_batched_ex, a_type: i8_r, b_type: i8_r, c_type: i32_r, d_type: i32_r, compute_type: i32_r, flags: 0, known_bug_platforms: "gfx900,gfx906,gfx90a,gfx1010,gfx1011,gfx1012,gfx1030" }
- - { function: gemm_strided_batched_ex, a_type: i8_r, b_type: i8_r, c_type: i32_r, d_type: i32_r, compute_type: i32_r, flags: 0, known_bug_platforms: "gfx900,gfx906,gfx1010,gfx1011,gfx1012,gfx1030" }
-+# gemv openblas reference differences due to summation order dependent roundoff accumulation with large M float complex
-+# 8th significant digit difference vs CPU on single precision float math, leads to expected equality test failure
-+# code needs to be changed to a tolerance test or reduce M for float complex type if using equality vs. CPU reference
-+- { function: gemv, a_type: f32_c, transA: T, M: 131071 }
-+- { function: gemv, a_type: f32_c, transA: C, M: 131071 }
-+- { function: gemv_batched, a_type: f32_c, transA: T, M: 131071 }
-+- { function: gemv_batched, a_type: f32_c, transA: C, M: 131071 }
-+- { function: gemv_strided_batched, a_type: f32_c, transA: T, M: 131071 }
-+- { function: gemv_strided_batched, a_type: f32_c, transA: C, M: 131071 }
-+
-
- #- { function: gemm_ex, a_type: bf16_r, b_type: bf16_r, c_type: bf16_r, d_type: bf16_r, compute_type: f32_r, transA: C, transB: N, M: 512, N: 512, K: 512, lda: 512, ldb: 512, ldc: 512, ldd: 512, alpha: 5.0, alphai: 0.0, beta: 0.0, betai: 0.0, known_bug_platforms: gfx908 }
- #- { function: gemm_ex, a_type: bf16_r, b_type: bf16_r, c_type: bf16_r, d_type: bf16_r, compute_type: f32_r, transA: C, transB: N, M: 512, N: 512, K: 512, lda: 512, ldb: 512, ldc: 512, ldd: 512, alpha: 0.0, alphai: 0.0, beta: 3.0, betai: 0.0, known_bug_platforms: gfx908 }
diff --git a/sci-libs/rocBLAS/files/rocBLAS-4.3.0-unbundle-Tensile.patch b/sci-libs/rocBLAS/files/rocBLAS-4.3.0-unbundle-Tensile.patch
deleted file mode 100644
index c8d99c851b00..000000000000
--- a/sci-libs/rocBLAS/files/rocBLAS-4.3.0-unbundle-Tensile.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff --git a/cmake/virtualenv.cmake b/cmake/virtualenv.cmake
-index 4c29c94..f9838c2 100644
---- a/cmake/virtualenv.cmake
-+++ b/cmake/virtualenv.cmake
-@@ -11,7 +11,7 @@ set(VIRTUALENV_HOME_DIR ${CMAKE_BINARY_DIR}/virtualenv CACHE PATH "Path to virtu
- function(virtualenv_create)
- message("${VIRTUALENV_PYTHON_EXE} -m venv ${VIRTUALENV_HOME_DIR} --system-site-packages --clear")
- execute_process(
-- COMMAND ${VIRTUALENV_PYTHON_EXE} -m venv ${VIRTUALENV_HOME_DIR} --system-site-packages --clear
-+ COMMAND true
- )
- endfunction()
-
-@@ -21,7 +21,7 @@ function(virtualenv_install)
- message("${VIRTUALENV_HOME_DIR}/bin/python -m pip install ${ARGN}")
- execute_process(
- RESULT_VARIABLE rc
-- COMMAND ${VIRTUALENV_HOME_DIR}/bin/python -m pip install ${ARGN}
-+ COMMAND true
- )
- if(rc)
- message(FATAL_ERROR ${rc})