From 4fda045f90a4e301329bddb766e2e12a0b4401de Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 14 Feb 2025 00:13:14 +0000 Subject: gentoo auto-resync : 14:02:2025 - 00:13:14 --- sci-libs/Manifest.gz | Bin 43347 -> 43343 bytes sci-libs/hipBLAS/Manifest | 4 - sci-libs/hipBLAS/hipBLAS-5.1.3.ebuild | 44 --- sci-libs/hipBLAS/hipBLAS-5.4.2.ebuild | 35 -- sci-libs/hipCUB/Manifest | 3 - .../files/hipCUB-4.3.0-add-memory-header.patch | 12 - sci-libs/hipCUB/hipCUB-5.1.3.ebuild | 71 ---- sci-libs/hipFFT/Manifest | 4 - .../hipFFT-5.1.3-gentoo-install-locations.patch | 29 -- .../hipFFT/files/hipFFT-5.1.3_hip-config.patch | 90 ----- sci-libs/hipFFT/hipFFT-5.1.3-r1.ebuild | 44 --- sci-libs/hipRAND/Manifest | 2 - sci-libs/hipRAND/hipRAND-5.6.0-r1.ebuild | 35 -- sci-libs/hipSPARSE/Manifest | 3 - ...hipSPARSE-5.0.2-remove-matrices-unpacking.patch | 126 ------- sci-libs/hipSPARSE/hipSPARSE-5.1.3-r1.ebuild | 99 ------ sci-libs/miopen/Manifest | 6 - .../files/miopen-5.0.2-strip-xnack-in-flags.patch | 20 -- ....3-avoid-metadata-error-for-vanilla-clang.patch | 183 ---------- .../files/miopen-5.1.3-deprecate-clang-ocl.patch | 55 --- sci-libs/miopen/files/miopen-5.1.3-gfx1031.patch | 375 --------------------- sci-libs/miopen/miopen-5.1.3-r1.ebuild | 110 ------ sci-libs/rocBLAS/Manifest | 11 - .../rocBLAS-4.3.0-fix-glibc-2.32-and-above.patch | 25 -- ...-5.0.2-change-default-Tensile-library-dir.patch | 47 --- .../files/rocBLAS-5.0.2-cpp_lib_filesystem.patch | 50 --- .../files/rocBLAS-5.0.2-unbundle-Tensile.patch | 25 -- .../files/rocBLAS-5.4.2-unbundle-Tensile.patch | 26 -- sci-libs/rocBLAS/rocBLAS-5.1.3-r4.ebuild | 114 ------- sci-libs/rocBLAS/rocBLAS-5.4.2-r3.ebuild | 107 ------ sci-libs/rocFFT/Manifest | 6 - .../files/rocFFT-4.2.0-add-functional-header.patch | 12 - .../files/rocFFT-5.0.2-add-math-header.patch | 12 - .../files/rocFFT-5.1.3-add-stdexcept-header.patch | 11 - .../files/rocFFT-5.1.3-unbundle-sqlite.patch | 67 ---- sci-libs/rocFFT/rocFFT-5.1.3-r1.ebuild | 145 -------- sci-libs/rocPRIM/Manifest | 2 - sci-libs/rocPRIM/rocPRIM-5.1.3.ebuild | 74 ---- sci-libs/rocRAND/Manifest | 7 - .../rocRAND/files/rocRAND-5.1.3_no-symlink.patch | 38 --- .../rocRAND/files/rocRAND-5.1.3_stdint-gcc13.patch | 33 -- sci-libs/rocRAND/rocRAND-5.1.3.ebuild | 79 ----- sci-libs/rocRAND/rocRAND-5.6.0-r1.ebuild | 63 ---- sci-libs/rocSOLVER/Manifest | 7 - .../files/rocSOLVER-4.2.0-add-stdint-header.patch | 12 - .../rocSOLVER/files/rocSOLVER-5.0.2-libfmt8.patch | 173 ---------- .../rocSOLVER/files/rocSOLVER-5.4.2-libfmt9.patch | 34 -- sci-libs/rocSOLVER/rocSOLVER-5.1.3-r1.ebuild | 78 ----- sci-libs/rocSOLVER/rocSOLVER-5.4.2.ebuild | 68 ---- sci-libs/rocSPARSE/Manifest | 5 - .../files/rocSPARSE-5.0.2-enable-gfx1031.patch | 13 - .../rocSPARSE-5.0.2-remove-incorrect-assert.patch | 34 -- ...rocSPARSE-5.0.2-remove-matrices-unpacking.patch | 42 --- sci-libs/rocSPARSE/rocSPARSE-5.1.3-r1.ebuild | 136 -------- sci-libs/rocThrust/Manifest | 2 - sci-libs/rocThrust/rocThrust-5.1.3.ebuild | 74 ---- 56 files changed, 2982 deletions(-) delete mode 100644 sci-libs/hipBLAS/hipBLAS-5.1.3.ebuild delete mode 100644 sci-libs/hipBLAS/hipBLAS-5.4.2.ebuild delete mode 100644 sci-libs/hipCUB/files/hipCUB-4.3.0-add-memory-header.patch delete mode 100644 sci-libs/hipCUB/hipCUB-5.1.3.ebuild delete mode 100644 sci-libs/hipFFT/files/hipFFT-5.1.3-gentoo-install-locations.patch delete mode 100644 sci-libs/hipFFT/files/hipFFT-5.1.3_hip-config.patch delete mode 100644 sci-libs/hipFFT/hipFFT-5.1.3-r1.ebuild delete mode 100644 sci-libs/hipRAND/hipRAND-5.6.0-r1.ebuild delete mode 100644 sci-libs/hipSPARSE/files/hipSPARSE-5.0.2-remove-matrices-unpacking.patch delete mode 100644 sci-libs/hipSPARSE/hipSPARSE-5.1.3-r1.ebuild delete mode 100644 sci-libs/miopen/files/miopen-5.0.2-strip-xnack-in-flags.patch delete mode 100644 sci-libs/miopen/files/miopen-5.1.3-avoid-metadata-error-for-vanilla-clang.patch delete mode 100644 sci-libs/miopen/files/miopen-5.1.3-deprecate-clang-ocl.patch delete mode 100644 sci-libs/miopen/files/miopen-5.1.3-gfx1031.patch delete mode 100644 sci-libs/miopen/miopen-5.1.3-r1.ebuild delete mode 100644 sci-libs/rocBLAS/files/rocBLAS-4.3.0-fix-glibc-2.32-and-above.patch delete mode 100644 sci-libs/rocBLAS/files/rocBLAS-5.0.2-change-default-Tensile-library-dir.patch delete mode 100644 sci-libs/rocBLAS/files/rocBLAS-5.0.2-cpp_lib_filesystem.patch delete mode 100644 sci-libs/rocBLAS/files/rocBLAS-5.0.2-unbundle-Tensile.patch delete mode 100644 sci-libs/rocBLAS/files/rocBLAS-5.4.2-unbundle-Tensile.patch delete mode 100644 sci-libs/rocBLAS/rocBLAS-5.1.3-r4.ebuild delete mode 100644 sci-libs/rocBLAS/rocBLAS-5.4.2-r3.ebuild delete mode 100644 sci-libs/rocFFT/files/rocFFT-4.2.0-add-functional-header.patch delete mode 100644 sci-libs/rocFFT/files/rocFFT-5.0.2-add-math-header.patch delete mode 100644 sci-libs/rocFFT/files/rocFFT-5.1.3-add-stdexcept-header.patch delete mode 100644 sci-libs/rocFFT/files/rocFFT-5.1.3-unbundle-sqlite.patch delete mode 100644 sci-libs/rocFFT/rocFFT-5.1.3-r1.ebuild delete mode 100644 sci-libs/rocPRIM/rocPRIM-5.1.3.ebuild delete mode 100644 sci-libs/rocRAND/files/rocRAND-5.1.3_no-symlink.patch delete mode 100644 sci-libs/rocRAND/files/rocRAND-5.1.3_stdint-gcc13.patch delete mode 100644 sci-libs/rocRAND/rocRAND-5.1.3.ebuild delete mode 100644 sci-libs/rocRAND/rocRAND-5.6.0-r1.ebuild delete mode 100644 sci-libs/rocSOLVER/files/rocSOLVER-4.2.0-add-stdint-header.patch delete mode 100644 sci-libs/rocSOLVER/files/rocSOLVER-5.0.2-libfmt8.patch delete mode 100644 sci-libs/rocSOLVER/files/rocSOLVER-5.4.2-libfmt9.patch delete mode 100644 sci-libs/rocSOLVER/rocSOLVER-5.1.3-r1.ebuild delete mode 100644 sci-libs/rocSOLVER/rocSOLVER-5.4.2.ebuild delete mode 100644 sci-libs/rocSPARSE/files/rocSPARSE-5.0.2-enable-gfx1031.patch delete mode 100644 sci-libs/rocSPARSE/files/rocSPARSE-5.0.2-remove-incorrect-assert.patch delete mode 100644 sci-libs/rocSPARSE/files/rocSPARSE-5.0.2-remove-matrices-unpacking.patch delete mode 100644 sci-libs/rocSPARSE/rocSPARSE-5.1.3-r1.ebuild delete mode 100644 sci-libs/rocThrust/rocThrust-5.1.3.ebuild (limited to 'sci-libs') diff --git a/sci-libs/Manifest.gz b/sci-libs/Manifest.gz index 9754af820510..197ec9eabdc8 100644 Binary files a/sci-libs/Manifest.gz and b/sci-libs/Manifest.gz differ diff --git a/sci-libs/hipBLAS/Manifest b/sci-libs/hipBLAS/Manifest index e5754169c9a1..7afeb25629cc 100644 --- a/sci-libs/hipBLAS/Manifest +++ b/sci-libs/hipBLAS/Manifest @@ -1,12 +1,8 @@ AUX hipBLAS-6.3.0-no-git.patch 627 BLAKE2B 1fe3e6345aa97c904a928ab3bef93bcc7617822baab3448d79c4865571e6a54c8367743fabea670d1f82b30be1cea7daf7172fc5ef43ec16bfb1d8c79b878c80 SHA512 ea2d640bf5c530c2595595eadfacd0df5f56d812f688370eee8b946651bff85c607a6170d4ad08bf6b9e8844ffe603ad541a8eefacb950c4fb4f9a8ee637ae87 -DIST hipBLAS-5.1.3.tar.gz 526704 BLAKE2B d32d7029ea910c341e00dccab1ee9ab984518368cf38524f2264bb808cc1242b3d57db283937650f54460cb01174ec90f02c4bd66866cba4be5d0a1855814f0e SHA512 41dbc86b7ea53e7c0f1d629130f90b719f864ceddae972f1c68911e97b6233286f0c22c0fcfce049ae7db73a1ed41bdaf730040c72f1790fca367362c14ac707 -DIST hipBLAS-5.4.2.tar.gz 930814 BLAKE2B 702df09010b50652feb8f7e5741b27117aa58fc3e3b1b5f89f5043073a47581d1710f0831740453e84f7594b1b305e95d2681709898e5231c3eee2e8207404a3 SHA512 a941350d2d25022cf5142f68559242a048136bdd048dafcd544a0241cf3b510062273163f7a0eecc55f17ec47a1063d84d6102ca766ba7cde9b704eee5c44cd8 DIST hipBLAS-5.7.1.tar.gz 669163 BLAKE2B e065f77eba0bb99d347f71920e733d30b7693f9eaf0c1f2a87a169360ccff23b8294e367eebfd6489440308b9bb1ae662c39617c5bb94275bf9b0ed60d555f85 SHA512 24c074f07865e1a3dfb0aca0b1d494e340a584ecb408813bb5b053f8282437cfd3644d730163f4faf1b93da306626ba68904141f9c3730a29749537fb7fd1a63 DIST hipBLAS-6.1.1.tar.gz 835570 BLAKE2B dc8a54f3b6c780f63e57f208d67b15e965d3a7c98e20766ef22ecfd41e8780a6b9464e31efad8003b52562222ec7ad06801d93a502ff99f8456f415db09e5ace SHA512 390b9a9bf0238a5c72d51d034c0053ec8c6b007547b1ec9561064828c24335e099ddb0402ad76e60018ec96742d5acfbb29b9d218a613e1c6d54e4b8b05ceca7 DIST hipBLAS-6.3.0.tar.gz 993145 BLAKE2B 6bd6108c90c511fb9e68f628714545569dac9afe9f022f9d59e365f44177ae574a4e3b94c9276b64aad3c72c94d5b3d87babe79edbb9cc2e6d5cbaebb82f3a83 SHA512 c5d40a6dcce467e44b091c610d35dc7abfe9e863b37438642e98568a3f8b084ffd94ee41e466a60f21151df765c0df377d553700e2df2b08375a58f40654f7dc DIST hipBLAS-6.3.2.tar.gz 993139 BLAKE2B a053f8b54318a169518f084e0bca3c9272cb51fab564c8d874b19483232cfeacb92707ad5224f4d0c3848b52d82973c36f0d4fdb429c9f5d995b3c56b1194075 SHA512 8581905a923484662471da786b795d7f960b45cc5eed991b101a88a4e3d4ea5217582c813192dde8eb35eafba9867c3ac448aeb4d7ef470e6da544f09397d902 -EBUILD hipBLAS-5.1.3.ebuild 1290 BLAKE2B 2d5722359ad1192d245a0d344aa2d3ab794f49be3cf7d6e0e90936d8813c29e7d2b96fb571f0b34aa5cf2883186bf20c5a4e8d974bba148ac20370b032176d1d SHA512 a95a0f8ae694e346aa00d4de3b09938515e8f104e731fa14936dd6f335996c32136d043f326887b8bcde718b5782cb464fc9a23641ea9641492fa21efee4b3a3 -EBUILD hipBLAS-5.4.2.ebuild 929 BLAKE2B ce433ff82d693d8b446bc47ce93e7ded4a4401cb423d45cbe9040d5a6b19bd1daa1b0b62e227c69505f941778fd3832827e867894f1ddb92538aebedddc26f67 SHA512 09813a2e0878222efdee2a5e87401671337dedb76441bbc5cca3c42f2aea3e88281ac503feb93b5ec3d4a904ceebe34bb9344ac577b9fdedb9f65e6678ead8fa EBUILD hipBLAS-5.7.1.ebuild 919 BLAKE2B 35676f043ad9ab3f3dc3398915e285fd5d8f15fd7ada8b1f3dc9af667853e7c57f79a51a3868141f91b8804b31353794038c0dd8be4a206ad44843609e385fb3 SHA512 2d825e3e69473d0fb0c8b718b0bc2751363bf0cf6f77f7afef54a9a4d2616cc09d8910a8196e44eb31aac8a3d3db389d702d5f2fa70107eae2ff8b38b72c15e0 EBUILD hipBLAS-6.1.1.ebuild 1031 BLAKE2B 7cf62b4427339cf3deaca50d30b95587240578e24cb2ad47ce01852e33141a4bd4c8208b28eb8923103ce8023bbef14da51a7e401a774f65b80c1efef8f4229d SHA512 82a4cd120f1ad40a3239d6e09542c04bede0c6619d53532276597b4aeafbb2773d75e8b3af49751e675ab4e7fd9eb90e162e9bf2e372408546c9150dbab38fd9 EBUILD hipBLAS-6.3.0.ebuild 1128 BLAKE2B 45c1131ee455c26c2aeb1141ec04c90931d4e2296644b929ed37ec7fedfc804724e45a2c43fe5e73a4107eb0ff8ca440ea8be03ad3442382cf006207ef1c3483 SHA512 99d089246917c80aa203c5cbbbccc47c711d69706c477dc5f1904f9d2870a03f0f17d66c4b47f3f0d4588fcc96ebb0c11479ead0192f62a849f38e9c83099bd6 diff --git a/sci-libs/hipBLAS/hipBLAS-5.1.3.ebuild b/sci-libs/hipBLAS/hipBLAS-5.1.3.ebuild deleted file mode 100644 index 3ac3a0ae1200..000000000000 --- a/sci-libs/hipBLAS/hipBLAS-5.1.3.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake rocm -DESCRIPTION="ROCm BLAS marshalling library" -HOMEPAGE="https://github.com/ROCmSoftwarePlatform/hipBLAS" -SRC_URI="https://github.com/ROCmSoftwarePlatform/hipBLAS/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz" -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -LICENSE="MIT" -KEYWORDS="~amd64" -SLOT="0/$(ver_cut 1-2)" - -RDEPEND="dev-util/hip - sci-libs/rocBLAS:${SLOT}[${ROCM_USEDEP}] - sci-libs/rocSOLVER:${SLOT}[${ROCM_USEDEP}]" -DEPEND="${RDEPEND}" -BDEPEND="" - -S="${WORKDIR}/hipBLAS-rocm-${PV}" - -src_prepare() { - sed -e "s: - - // HIP API - #include "hipcub/device/device_radix_sort.hpp" diff --git a/sci-libs/hipCUB/hipCUB-5.1.3.ebuild b/sci-libs/hipCUB/hipCUB-5.1.3.ebuild deleted file mode 100644 index 4588711d36b2..000000000000 --- a/sci-libs/hipCUB/hipCUB-5.1.3.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake rocm - -DESCRIPTION="Wrapper of rocPRIM or CUB for GPU parallel primitives" -HOMEPAGE="https://github.com/ROCmSoftwarePlatform/hipCUB" -SRC_URI="https://github.com/ROCmSoftwarePlatform/hipCUB/archive/rocm-${PV}.tar.gz -> hipCUB-${PV}.tar.gz" - -LICENSE="BSD" -KEYWORDS="~amd64" -SLOT="0/$(ver_cut 1-2)" -IUSE="benchmark test" -REQUIRED_USE="${ROCM_REQUIRED_USE}" -RESTRICT="!test? ( test )" - -RDEPEND="dev-util/hip - sci-libs/rocPRIM:${SLOT}[${ROCM_USEDEP}] - benchmark? ( dev-cpp/benchmark ) - test? ( dev-cpp/gtest ) -" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/hipCUB-rocm-${PV}" - -PATCHES="${FILESDIR}/${PN}-4.3.0-add-memory-header.patch" - -src_prepare() { - sed -e "/PREFIX hipcub/d" \ - -e "/DESTINATION/s:hipcub/include/:include/:" \ - -e "/rocm_install_symlink_subdir(hipcub)/d" \ - -e "/ - $ - $ -- $ -+ $ - ${HIP_INCLUDE_DIRS} - ) - -@@ -142,13 +142,11 @@ if( ROCM_FOUND ) - rocm_install_targets( TARGETS hipfft - INCLUDE - ${CMAKE_SOURCE_DIR}/library/include -- ${CMAKE_BINARY_DIR}/include -- PREFIX hipfft ) -+ ${CMAKE_BINARY_DIR}/include ) - rocm_export_targets( TARGETS hip::hipfft -- PREFIX hipfft -+ PREFIX . - DEPENDS PACKAGE hip - NAMESPACE hip:: ) -- rocm_install_symlink_subdir( hipfft ) - - # Package specific CPACK vars - if( NOT BUILD_WITH_LIB STREQUAL "CUDA" ) diff --git a/sci-libs/hipFFT/files/hipFFT-5.1.3_hip-config.patch b/sci-libs/hipFFT/files/hipFFT-5.1.3_hip-config.patch deleted file mode 100644 index 2f63a0f8e6f7..000000000000 --- a/sci-libs/hipFFT/files/hipFFT-5.1.3_hip-config.patch +++ /dev/null @@ -1,90 +0,0 @@ -reverts the following commit. - -Upstream: https://github.com/ROCmSoftwarePlatform/hipFFT/pull/67 - -commit 41491c9a70f808ed74690a538ca7bd25ff1ae1ca -Author: Steve Leung -Date: Wed Sep 1 11:25:26 2021 -0600 - - cmake: use HIP CONFIG on Windows - -diff --git a/clients/rider/CMakeLists.txt b/clients/rider/CMakeLists.txt -index de1fc7d..8b88103 100644 ---- b/clients/rider/CMakeLists.txt -+++ a/clients/rider/CMakeLists.txt -@@ -43,11 +43,7 @@ - - if( NOT CMAKE_CXX_COMPILER MATCHES ".*/hipcc$" ) - if( NOT BUILD_WITH_LIB STREQUAL "CUDA" ) -- if( WIN32 ) -- find_package( HIP CONFIG REQUIRED ) -- else() -- find_package( HIP MODULE REQUIRED ) -- endif() -+ find_package( HIP REQUIRED ) - target_link_libraries( hipfft-rider PRIVATE hip::host ) - else() - -diff --git a/clients/samples/CMakeLists.txt b/clients/samples/CMakeLists.txt -index 5a882c6..37162ab 100644 ---- b/clients/samples/CMakeLists.txt -+++ a/clients/samples/CMakeLists.txt -@@ -48,11 +48,7 @@ - target_link_libraries( ${sample} PRIVATE hip::hipfft ) - - if( NOT CMAKE_CXX_COMPILER MATCHES ".*/hipcc$" ) -- if( WIN32 ) -- find_package( HIP CONFIG REQUIRED ) -- else() -- find_package( HIP MODULE REQUIRED ) -- endif() -+ find_package( HIP REQUIRED ) - if( NOT BUILD_WITH_LIB STREQUAL "CUDA" ) - target_link_libraries( ${sample} PRIVATE hip::host ) - else() -diff --git a/clients/tests/CMakeLists.txt b/clients/tests/CMakeLists.txt -index 2b965e2..0442a79 100644 ---- b/clients/tests/CMakeLists.txt -+++ a/clients/tests/CMakeLists.txt -@@ -81,11 +81,7 @@ - - if( NOT CMAKE_CXX_COMPILER MATCHES ".*/hipcc$" ) - if( NOT BUILD_WITH_LIB STREQUAL "CUDA" ) -- if( WIN32 ) -- find_package( HIP CONFIG REQUIRED ) -- else() -- find_package( HIP MODULE REQUIRED ) -- endif() -+ find_package( HIP REQUIRED ) - target_link_libraries( hipfft-test PRIVATE hip::host ) - else() - target_compile_definitions( hipfft-test PRIVATE __HIP_PLATFORM_NVIDIA__) -diff --git a/cmake/dependencies.cmake b/cmake/dependencies.cmake -index 022e3e4..0c8b3f8 100644 ---- b/cmake/dependencies.cmake -+++ a/cmake/dependencies.cmake -@@ -27,22 +27,14 @@ - # HIP - if( NOT CMAKE_CXX_COMPILER MATCHES ".*/hipcc$" ) - if( NOT BUILD_WITH_LIB STREQUAL "CUDA" ) -- if( WIN32 ) -- find_package( HIP CONFIG REQUIRED ) -- else() -- find_package( HIP MODULE REQUIRED ) -- endif() -+ find_package( HIP REQUIRED ) - list( APPEND HIP_INCLUDE_DIRS "${HIP_ROOT_DIR}/include" ) - endif() - else() - if( BUILD_WITH_LIB STREQUAL "CUDA" ) - set(HIP_INCLUDE_DIRS "${HIP_ROOT_DIR}/include") - else() -- if( WIN32 ) -- find_package( HIP CONFIG REQUIRED ) -- else() -- find_package( HIP MODULE REQUIRED ) -- endif() -+ find_package( HIP REQUIRED ) - endif() - endif() - diff --git a/sci-libs/hipFFT/hipFFT-5.1.3-r1.ebuild b/sci-libs/hipFFT/hipFFT-5.1.3-r1.ebuild deleted file mode 100644 index 79eb8052324f..000000000000 --- a/sci-libs/hipFFT/hipFFT-5.1.3-r1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake rocm - -DESCRIPTION="CU / ROCM agnostic hip FFT implementation" -HOMEPAGE="https://github.com/ROCmSoftwarePlatform/hipFFT" -SRC_URI="https://github.com/ROCmSoftwarePlatform/hipFFT/archive/refs/tags/rocm-${PV}.tar.gz -> hipFFT-rocm-${PV}.tar.gz" -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -LICENSE="MIT" -KEYWORDS="~amd64" -SLOT="0/$(ver_cut 1-2)" - -RESTRICT="test" - -RDEPEND="dev-util/hip - sci-libs/rocFFT:${SLOT}[${ROCM_USEDEP}]" -DEPEND="${RDEPEND}" -BDEPEND="" - -S="${WORKDIR}/hipFFT-rocm-${PV}" - -PATCHES=( - "${FILESDIR}/${PN}-5.1.3_hip-config.patch" - "${FILESDIR}/${PN}-5.1.3-gentoo-install-locations.patch" - "${FILESDIR}/${PN}-5.0.2-remove-git-dependency.patch" - "${FILESDIR}/${PN}-4.3.0-add-complex-header.patch" -) - -src_configure() { - local mycmakeargs=( - -DCMAKE_INSTALL_INCLUDEDIR="include/hipfft" - -DROCM_SYMLINK_LIBS=OFF - -DBUILD_CLIENTS_TESTS=OFF - -DBUILD_CLIENTS_RIDER=OFF - ) - - CXX=hipcc cmake_src_configure -} diff --git a/sci-libs/hipRAND/Manifest b/sci-libs/hipRAND/Manifest index 8a8f06ba1b32..af353b87c8e0 100644 --- a/sci-libs/hipRAND/Manifest +++ b/sci-libs/hipRAND/Manifest @@ -1,9 +1,7 @@ -DIST hipRAND-rocm-5.6.0.tar.gz 477597 BLAKE2B fdc88ac7076ab6b31ba794f9274881323fba32295bab5b90e38d8c8f336e0255b7d20dcba6e334b7bacd8b67eaac8a3ac6e11e3d490e7c95a973d16c9598922f SHA512 47d0cca92b458f8ef682b3c15fe4ccc5201370b1458e541080dc2150e98256962b78806c20b26d789b232d420eb305639fa50180e379ba123851d35d24d40cb2 DIST hipRAND-rocm-5.7.1.tar.gz 478352 BLAKE2B 5f435cf53d213b1d95ee8b766df2c9bc4b4d590ccf63fe867bd033eeb4b7fef67e2bde22242525686a8dee59fd811363857312481e9cb3575357c612ab519a41 SHA512 b3c51728c1d7cc37760f49f36ab7765c166f105bc5b1b6ce65ac4a1de9bb70f8e2c10f5c41f89040288b09c9257d913d745a416bd4785b71f170a4f57e1f95e2 DIST hipRAND-rocm-6.1.1.tar.gz 119063 BLAKE2B dc314d8b09c15351075594335d14f65024be54597e7cbdfb7671ebea29fa208c9a33530a2d406a8a2a9d8738f0aae7e9fc25d8c39304ef2ef27aaf8b327b5975 SHA512 4c350c8a75e6b4064e22cd73679f66e5caf28f7922fc47ef9670c1023b58b36bf3a2a35580463ee7c89e26ed924aaaa68166a11f64823b99f2f8302f80d6e87a DIST hipRAND-rocm-6.3.0.tar.gz 125500 BLAKE2B 80b64692c5bc8dc1cb6861f98c927d14215c1115dfb69153cb2d69d17dbe7a8e53c9985d3457762740866f6f773999ed8fc91c70133e8996f50a1413b064bf8c SHA512 47a2b21618ee3f0c91df7a7b707473ef2f82ee75f4084e8acc07e90cf0d668c7903ab4fe44fbb105a476a4730782a9de30446f620e0ba0cfca62257e8ac0fffd DIST hipRAND-rocm-6.3.2.tar.gz 125506 BLAKE2B 836eb474c4b88a4729e3e9176736b28c090cf2add0ef463bf594deede353b755a1a07ef5898ec51e3ae66c2972cbfe6a71815020dd5f3e3b1aca105d8d8ca8e2 SHA512 8f3893ec89f76b859847b75acf3ec20f751924cd16d3ea25dbb0e1f2a5b7d75832c214e6ce9e180e3f74fbcb0c4bf95b75bf3ad32e9ac34e5e0f7522554f38a6 -EBUILD hipRAND-5.6.0-r1.ebuild 815 BLAKE2B 568be23ee847e47d5aeee9cb63b318961057a6787140ef54ce5bce289703b0b611cb52f501bc6fc73c2365549af482ba7483a6edda9e91b5cbe419f5b9cfb07f SHA512 8e8eabb6d74cdaffb3e8c9c41fddb166e8b49317285c4f79574253854b70c8f7b43689df767a3b8117f0591a9ea9f2a0652c1b7696b8cbfb04481a41c61de37b EBUILD hipRAND-5.7.1.ebuild 815 BLAKE2B 568be23ee847e47d5aeee9cb63b318961057a6787140ef54ce5bce289703b0b611cb52f501bc6fc73c2365549af482ba7483a6edda9e91b5cbe419f5b9cfb07f SHA512 8e8eabb6d74cdaffb3e8c9c41fddb166e8b49317285c4f79574253854b70c8f7b43689df767a3b8117f0591a9ea9f2a0652c1b7696b8cbfb04481a41c61de37b EBUILD hipRAND-6.1.1.ebuild 790 BLAKE2B 1eac4994b7c6dc84110e1bf3163f82ee201173588002a1524f413290b7de6bf1c7289af0e07e91d4a3658d0288feed0b5e360f5ca89ee0ee0e620fb2591fca9c SHA512 4dec1a6d7b6a180dfe6a44b5cdd75775fb6599b696ca39197edd6ac46e9a64f286ae0db8345f14c5c2fb25a0f9a8165ab701007d9cfe86ea8bb2237e478e9896 EBUILD hipRAND-6.3.0.ebuild 801 BLAKE2B 874f9628a1fd54556603289ef36c83025e2981d0c0de972849826b2e3befe49c9cf806f6b85d8810afa2127f5220f7dce41b7b151018cc9f21cfbdd4d9410d32 SHA512 c94b9e7fedc8c8f40b9889f66f3c3bb8db578e0c7720d9e163691429b5b023a7d8586dd47403ad128b96608a706a96fbd960b1942d76d9c91e8e303f27acc727 diff --git a/sci-libs/hipRAND/hipRAND-5.6.0-r1.ebuild b/sci-libs/hipRAND/hipRAND-5.6.0-r1.ebuild deleted file mode 100644 index 1674ad72718f..000000000000 --- a/sci-libs/hipRAND/hipRAND-5.6.0-r1.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake rocm - -DESCRIPTION="CU / ROCM agnostic hip RAND implementation" -HOMEPAGE="https://github.com/ROCmSoftwarePlatform/hipRAND" -SRC_URI="https://github.com/ROCmSoftwarePlatform/hipRAND/archive/refs/tags/rocm-${PV}.tar.gz -> hipRAND-rocm-${PV}.tar.gz" -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -LICENSE="MIT" -KEYWORDS="~amd64" -SLOT="0/$(ver_cut 1-2)" - -RESTRICT="test" - -RDEPEND="dev-util/hip - sci-libs/rocRAND:${SLOT}[${ROCM_USEDEP}]" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/hipRAND-rocm-${PV}" - -src_configure() { - local mycmakeargs=( - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - -DROCM_SYMLINK_LIBS=OFF - ) - - CXX=hipcc cmake_src_configure -} diff --git a/sci-libs/hipSPARSE/Manifest b/sci-libs/hipSPARSE/Manifest index 915da68aa7f2..b8513db5daca 100644 --- a/sci-libs/hipSPARSE/Manifest +++ b/sci-libs/hipSPARSE/Manifest @@ -1,7 +1,5 @@ -AUX hipSPARSE-5.0.2-remove-matrices-unpacking.patch 3940 BLAKE2B e3815659b32856206bc3291d09f59514e59dc06c3c33454c24afb68955d6a55411c71535693325be06bdb097e7cedc558ec2b8fa6a2d3886d774d79e038557ad SHA512 39db7d6fe0a085ef5a92f6ec1613376ffd9152d8d31a78f0864c971e7b61d4dfbda2e170940c82dae286d024333621722b249d5bd601399e76e68e8029fc7e81 AUX hipSPARSE-6.3.0-fix-filesystem.patch 976 BLAKE2B e17bd3ec5263deb7a5dacd7051c31134f203682d1f5f4b7b79394babee0e0b68bfddf57d123ee752c5e2c57a26cb7559dac7bf15103396366948c10a4e693ede SHA512 798efc0858b09512e04dce020dd380808c87f3fa0d2b87f52c2c367aecc0562a8e1b2cda9cf6817604f2a9a1a6a68a3cc879d0e73e8658729599899a10ff5f71 AUX hipSPARSE-6.3.0-no-gtest-in-benchmark.patch 837 BLAKE2B 038e43d4e62fb68f714c03dc1e9277cef03f635355721c95e1613ba2e7e85657a41c368732d9edd12657ff39626f6a7687802827230da8df121623e68af17e91 SHA512 8082aa0e3020cf3d37dbd37c251eff84e130757fb3b352dd43e9b738b8bec9e84c57ba1c530af3675c5d1c88ba48ae9e48db6560b4030b916dfe7b0289d13185 -DIST hipSPARSE-5.1.tar.gz 449838 BLAKE2B 7727ecb9fa397e2730cfda4c9367188c37ad201d501b50129994869c6ef15b51cdf2d1f481f19f2f37cf0530f1ec3689c40a9651924f70fabe945d80732df64a SHA512 8b01c01a10b8419d14a532ebccfa5b5b5b5c3f6a6e73f3f0ecee58c7e240d2754485a9da020fe4693df3ef9fc08e5bb09b05396472ccbeebf89bc2635d94eb64 DIST hipSPARSE-5.7.tar.gz 458521 BLAKE2B 94695ef3cf4294f571723e31ab5d4295b5aaa24528e90838375ee8477cf0957b297663d80e5fe3406762b475b6ef4741f9ccfb4dfb1448ce71ea4014da14b46e SHA512 bb28cd81b7ec298eb2e6462a8588ed93eee7b4892923b11087a91d1c32341f29f488fd4e6797debe51a989f463db31030eae02d07be6512d6b755367ba221aac DIST hipSPARSE-6.1.tar.gz 471148 BLAKE2B 18119ac355e180adb5ce38561f44e39119226d209a970ae8cac6b85575bad1ab2a690a3bb72de1c179c1190aa2c29d691e6ce02855f3df89a58f634d42e54103 SHA512 09f9e94c5f976e6f17c07f9be2fde31c2e740871215a6b77b49675644b883bd9994fcaacb19864ace3883bb5aea7a7dc589ddbaf9b6aaf3d9f411c7e452a0b78 DIST hipSPARSE-6.3.tar.gz 537764 BLAKE2B 2989c81ac1f024246fdcf8081fa6969f1efd81d680f39b45edac290b4db7d453154d5d432e0ad3d0bc1e08948e03886a89ff4ec051b30cb7eca6bfe4f433d4a7 SHA512 c011b7d7a2121a20ceb2eee8d7217717ff06196f085f0996b0952b5afdbf2350e7288c4cfd2cfe9214b84c2add203788a1860d9a89bb426df2bc376b348a7f55 @@ -24,7 +22,6 @@ DIST rocSPARSE_scircuit.tar.gz 8635362 BLAKE2B 3f1d6e35a6a774664bd653dd466fa3c07 DIST rocSPARSE_shipsec1.tar.gz 22175245 BLAKE2B f1d34482b8c3d3ee48033097d7d6f9b648e3c396a5ab2379efdc7de218adec519a235e2e94904f85a4f24c8d4ff15af096ca089379e00db47519023f64b85c16 SHA512 e027097e74f8ffc058339855b1c38cab52c68b661058318b429487e7188e11e907f6734894f9c71d1e38d262986525fba8d0f165bc0a1b4632d7e25be8db4f17 DIST rocSPARSE_sme3Dc.tar.gz 42483568 BLAKE2B f0d16b58f6ea28e67727637697a812a0b10d524c73aeb82f702411b9ebaea3670780e762ed0701aae80c6829e950233f74555523ef2d6c5740b007c7a65c03d4 SHA512 c5a0be2db919a45310a73ea1dd96d0d30168135f887a8c5c3d7ca11e2c3d12ea7d1331be20968d0135bd18da4ef2b043db68eeb7567b6f0f8daf782b87083c3a DIST rocSPARSE_webbase-1M.tar.gz 11360460 BLAKE2B 01b1d06adb5fb32fa402ed888d25a7e52a34779b078fc2e21c60e688d03579bb4ca8694f5ee4a824f7859952d55590a1fd9449dc80d6fe894d7b662b918882d4 SHA512 6401a965b8f6dd5392879956fde3c94f77fe1801a4a43428c03b6d639031575c647eab47b1babe53f4ecc2c3b8fc183e8339536b78dcd0d94ce62bfedd87c161 -EBUILD hipSPARSE-5.1.3-r1.ebuild 3603 BLAKE2B 648b6b8edc22efc9d95713e935e8e8a9cff2b086be1eae1e503f537e6fb656f76970aa6919963d2c3febf8ba262555604102cb89b8e3ad3900379e6889f44b5a SHA512 a5c206f818df8b9e64253b136d819cf385769b496271a9b8049a9d2d0ba3305f2a2a46e6c1e52f61a8b3e862e660ec7f8b16597489706ed3b5aba22b30e853f1 EBUILD hipSPARSE-5.7.1.ebuild 3559 BLAKE2B bd8957a817978ede880a1c7d924994967aaa27474c4da9152980ba1c1463d636e841a025b549ab10e4a0b376d61dbbb8a51f10cdbbe042a33c5168462691283d SHA512 9223c6d530e1951732de1ab9d24522bea70869bb1f61f6b86d1b283692416c8c5d6d8d5302c429a74fa9b587c0953d3c836ca39488cea21a83e08a0d3f286700 EBUILD hipSPARSE-6.1.1.ebuild 3301 BLAKE2B f299978cb0999cfcace7af71164cbb4893260d194d2d331d60f2a0faaaf804f20f88f877956f58374f4c6d212f108ae5f5aa044de426f5ad55f7dd84a083a645 SHA512 e17a904c40af97e304adfc2abe42843494a18b6dfdf0e4d5de2e63e5549a081a7a456f08473535e729815044a6a1b1a7ca05dda21222b885912c9d686a48e534 EBUILD hipSPARSE-6.3.0.ebuild 3816 BLAKE2B 028054220dfee983f29ee3d079e73614ee96e0b2e6aba71d9fc1d121e30fc950ca3bb1f617bf22c9eccea8b55afa28fa5a0f52b84a9c12ee1f6abe5024e89853 SHA512 9df1da0d5fe4e3c7e75ea1607530b7e1fa8bcca7c2c3b0d3981205612ef5d4a6d9e4f1572b9b566add08d6ecceda7f6ee6bfd114cf12f3fcf2b69faf6f462ad9 diff --git a/sci-libs/hipSPARSE/files/hipSPARSE-5.0.2-remove-matrices-unpacking.patch b/sci-libs/hipSPARSE/files/hipSPARSE-5.0.2-remove-matrices-unpacking.patch deleted file mode 100644 index 021e10b7ab2c..000000000000 --- a/sci-libs/hipSPARSE/files/hipSPARSE-5.0.2-remove-matrices-unpacking.patch +++ /dev/null @@ -1,126 +0,0 @@ -Adopted from 4.3.0 patch to remove downloads during test. - -Ultimately the to be downloaded matrices should be in DISTFILES. - -Index: hipSPARSE-rocm-5.0.2/clients/tests/CMakeLists.txt -=================================================================== ---- hipSPARSE-rocm-5.0.2.orig/clients/tests/CMakeLists.txt -+++ hipSPARSE-rocm-5.0.2/clients/tests/CMakeLists.txt -@@ -23,117 +23,6 @@ - - find_package(GTest REQUIRED) - --# Download some test matrices --set(TEST_MATRICES -- SNAP/amazon0312 -- Muite/Chebyshev4 -- FEMLAB/sme3Dc -- Williams/webbase-1M -- Bova/rma10 -- JGD_BIBD/bibd_22_8 -- Williams/mac_econ_fwd500 -- Williams/mc2depi -- Hamm/scircuit -- Sandia/ASIC_320k -- GHS_psdef/bmwcra_1 -- HB/nos1 -- HB/nos2 -- HB/nos3 -- HB/nos4 -- HB/nos5 -- HB/nos6 -- HB/nos7 -- DNVS/shipsec1 --) -- --set(TEST_MD5HASH -- f567e5f5029d052e3004bc69bb3f13f5 -- e39879103dafab21f4cf942e0fe42a85 -- a95eee14d980a9cfbbaf5df4a3c64713 -- 2d4c239daad6f12d66a1e6a2af44cbdb -- a899a0c48b9a58d081c52ffd88a84955 -- 455d5b699ea10232bbab5bc002219ae6 -- f1b0e56fbb75d1d6862874e3d7d33060 -- 8c8633eada6455c1784269b213c85ea6 -- 3e62f7ea83914f7e20019aefb2a5176f -- fcfaf8a25c8f49b8d29f138f3c65c08f -- 8a3cf5448a4fe73dcbdb5a16b326715f -- b203f7605cb1f20f83280061068f7ec7 -- b0f812ffcc9469f0bf9be701205522c4 -- f185514062a0eeabe86d2909275fe1dc -- 04b781415202db404733ca0c159acbef -- c98e35f1cfd1ee8177f37bdae155a6e7 -- c39375226aa5c495293003a5f637598f -- 9a6481268847e6cf0d70671f2ff1ddcd -- 73372e7d6a0848f8b19d64a924fab73e --) -- --if(NOT TARGET hipsparse) -- set(CONVERT_SOURCE ${CMAKE_SOURCE_DIR}/../deps/convert.cpp) --else() -- set(CONVERT_SOURCE ${CMAKE_SOURCE_DIR}/deps/convert.cpp) --endif() -- --if(BUILD_ADDRESS_SANITIZER) -- execute_process(COMMAND ${CMAKE_CXX_COMPILER} ${CONVERT_SOURCE} -O3 -fsanitize=address -shared-libasan -o ${PROJECT_BINARY_DIR}/mtx2csr.exe) --else() -- execute_process(COMMAND ${CMAKE_CXX_COMPILER} ${CONVERT_SOURCE} -O3 -o ${PROJECT_BINARY_DIR}/mtx2csr.exe) --endif() -- --list(LENGTH TEST_MATRICES len) --math(EXPR len1 "${len} - 1") -- --foreach(i RANGE 0 ${len1}) -- list(GET TEST_MATRICES ${i} m) -- list(GET TEST_MD5HASH ${i} md5) -- -- string(REPLACE "/" ";" sep_m ${m}) -- list(GET sep_m 0 dir) -- list(GET sep_m 1 mat) -- -- # Download test matrices if not already downloaded -- set(CMAKE_MATRICES_DIR ${PROJECT_BINARY_DIR}/matrices) -- if(NOT EXISTS "${CMAKE_MATRICES_DIR}/${mat}.bin") -- message("-- Downloading and extracting test matrix ${m}.tar.gz") -- file(DOWNLOAD https://sparse.tamu.edu/MM/${m}.tar.gz ${CMAKE_MATRICES_DIR}/${mat}.tar.gz -- INACTIVITY_TIMEOUT 3 -- STATUS DL) -- -- list(GET DL 0 stat) -- list(GET DL 1 msg) -- -- if(NOT stat EQUAL 0) -- message("-- Timeout has been reached, trying mirror ...") -- # Try again using ufl links -- file(DOWNLOAD https://www.cise.ufl.edu/research/sparse/MM/${m}.tar.gz ${CMAKE_MATRICES_DIR}/${mat}.tar.gz -- INACTIVITY_TIMEOUT 3 -- STATUS DL) -- -- list(GET DL 0 stat) -- list(GET DL 1 msg) -- -- if(NOT stat EQUAL 0) -- message(FATAL_ERROR "${msg}") -- endif() -- endif() -- -- # Check MD5 hash before continuing -- file(MD5 ${CMAKE_MATRICES_DIR}/${mat}.tar.gz hash) -- -- # Compare hash -- if(NOT hash STREQUAL md5) -- message(FATAL_ERROR "${mat}.tar.gz is corrupted") -- endif() -- execute_process(COMMAND tar xf ${mat}.tar.gz WORKING_DIRECTORY ${CMAKE_MATRICES_DIR}) -- -- file(RENAME ${CMAKE_MATRICES_DIR}/${mat}/${mat}.mtx ${CMAKE_MATRICES_DIR}/${mat}.mtx) -- execute_process(COMMAND ${PROJECT_BINARY_DIR}/mtx2csr.exe ${mat}.mtx ${mat}.bin WORKING_DIRECTORY ${CMAKE_MATRICES_DIR}) -- # TODO: add 'COMMAND_ERROR_IS_FATAL ANY' once cmake supported version is 3.19 -- file(REMOVE_RECURSE ${CMAKE_MATRICES_DIR}/${mat}.tar.gz ${CMAKE_MATRICES_DIR}/${mat} ${CMAKE_MATRICES_DIR}/${mat}.mtx) -- -- endif() --endforeach() -- - set(HIPSPARSE_TEST_SOURCES - hipsparse_gtest_main.cpp - test_axpyi.cpp diff --git a/sci-libs/hipSPARSE/hipSPARSE-5.1.3-r1.ebuild b/sci-libs/hipSPARSE/hipSPARSE-5.1.3-r1.ebuild deleted file mode 100644 index 3a05960c2cc7..000000000000 --- a/sci-libs/hipSPARSE/hipSPARSE-5.1.3-r1.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake edo rocm toolchain-funcs - -DESCRIPTION="ROCm SPARSE marshalling library" -HOMEPAGE="https://github.com/ROCmSoftwarePlatform/hipSPARSE" -# share some test datasets with rocSPARSE -SRC_URI="https://github.com/ROCmSoftwarePlatform/hipSPARSE/archive/rocm-${PV}.tar.gz -> hipSPARSE-$(ver_cut 1-2).tar.gz -test? ( -https://sparse.tamu.edu/MM/SNAP/amazon0312.tar.gz -> rocSPARSE_amazon0312.tar.gz -https://sparse.tamu.edu/MM/Muite/Chebyshev4.tar.gz -> rocSPARSE_Chebyshev4.tar.gz -https://sparse.tamu.edu/MM/FEMLAB/sme3Dc.tar.gz -> rocSPARSE_sme3Dc.tar.gz -https://sparse.tamu.edu/MM/Williams/webbase-1M.tar.gz -> rocSPARSE_webbase-1M.tar.gz -https://sparse.tamu.edu/MM/Bova/rma10.tar.gz -> rocSPARSE_rma10.tar.gz -https://sparse.tamu.edu/MM/JGD_BIBD/bibd_22_8.tar.gz -> rocSPARSE_bibd_22_8.tar.gz -https://sparse.tamu.edu/MM/Williams/mac_econ_fwd500.tar.gz -> rocSPARSE_mac_econ_fwd500.tar.gz -https://sparse.tamu.edu/MM/Williams/mc2depi.tar.gz -> rocSPARSE_mc2depi.tar.gz -https://sparse.tamu.edu/MM/Hamm/scircuit.tar.gz -> rocSPARSE_scircuit.tar.gz -https://sparse.tamu.edu/MM/Sandia/ASIC_320k.tar.gz -> rocSPARSE_ASIC_320k.tar.gz -https://sparse.tamu.edu/MM/GHS_psdef/bmwcra_1.tar.gz -> rocSPARSE_bmwcra_1.tar.gz -https://sparse.tamu.edu/MM/HB/nos1.tar.gz -> rocSPARSE_nos1.tar.gz -https://sparse.tamu.edu/MM/HB/nos2.tar.gz -> rocSPARSE_nos2.tar.gz -https://sparse.tamu.edu/MM/HB/nos3.tar.gz -> rocSPARSE_nos3.tar.gz -https://sparse.tamu.edu/MM/HB/nos4.tar.gz -> rocSPARSE_nos4.tar.gz -https://sparse.tamu.edu/MM/HB/nos5.tar.gz -> rocSPARSE_nos5.tar.gz -https://sparse.tamu.edu/MM/HB/nos6.tar.gz -> rocSPARSE_nos6.tar.gz -https://sparse.tamu.edu/MM/HB/nos7.tar.gz -> rocSPARSE_nos7.tar.gz -https://sparse.tamu.edu/MM/DNVS/shipsec1.tar.gz -> rocSPARSE_shipsec1.tar.gz -)" - -LICENSE="MIT" -KEYWORDS="~amd64" -SLOT="0"/$(ver_cut 1-2) -IUSE="test" -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -RESTRICT="!test? ( test )" - -RDEPEND="dev-util/rocminfo - dev-util/hip - sci-libs/rocSPARSE:${SLOT}[${ROCM_USEDEP}]" -DEPEND="${RDEPEND}" -BDEPEND="dev-build/rocm-cmake - >=dev-build/cmake-3.22 - test? ( dev-cpp/gtest )" - -S="${WORKDIR}/hipSPARSE-rocm-${PV}" - -PATCHES=( "${FILESDIR}/${PN}-5.0.2-remove-matrices-unpacking.patch" ) - -src_prepare() { - sed -e "s/PREFIX hipsparse//" \ - -e "/ -Index: MIOpen-rocm-5.0.2/CMakeLists.txt -=================================================================== ---- MIOpen-rocm-5.0.2.orig/CMakeLists.txt -+++ MIOpen-rocm-5.0.2/CMakeLists.txt -@@ -198,8 +198,8 @@ find_package(hip REQUIRED PATHS /opt/roc - message(STATUS "Build with HIP ${hip_VERSION}") - target_flags(HIP_COMPILER_FLAGS hip::device) - # Remove cuda arch flags --string(REGEX REPLACE --cuda-gpu-arch=[a-z0-9]+ "" HIP_COMPILER_FLAGS "${HIP_COMPILER_FLAGS}") --string(REGEX REPLACE --offload-arch=[a-z0-9]+ "" HIP_COMPILER_FLAGS "${HIP_COMPILER_FLAGS}") -+string(REGEX REPLACE --cuda-gpu-arch=[a-z0-9:+-]+ "" HIP_COMPILER_FLAGS "${HIP_COMPILER_FLAGS}") -+string(REGEX REPLACE --offload-arch=[a-z0-9:+-]+ "" HIP_COMPILER_FLAGS "${HIP_COMPILER_FLAGS}") - string(REPLACE "$" "1" HIP_COMPILER_FLAGS "${HIP_COMPILER_FLAGS}") - string(REPLACE "SHELL:" "" HIP_COMPILER_FLAGS "${HIP_COMPILER_FLAGS}") - diff --git a/sci-libs/miopen/files/miopen-5.1.3-avoid-metadata-error-for-vanilla-clang.patch b/sci-libs/miopen/files/miopen-5.1.3-avoid-metadata-error-for-vanilla-clang.patch deleted file mode 100644 index 3dca20f1fb12..000000000000 --- a/sci-libs/miopen/files/miopen-5.1.3-avoid-metadata-error-for-vanilla-clang.patch +++ /dev/null @@ -1,183 +0,0 @@ -Together with find-sed command in 5.1.3 ebuild, this fixes -https://github.com/ROCmSoftwarePlatform/MIOpen/issues/1731 -index 71b2cabf1..60e7fab6e 100644 ---- a/src/kernels/Conv_Winograd_v13_3_12_epilogue.inc -+++ b/src/kernels/Conv_Winograd_v13_3_12_epilogue.inc -@@ -76,7 +76,7 @@ amdhsa.kernels: - .max_flat_workgroup_size: \wg_x - .wavefront_size: 64 - .args: -- - { .size: 4, .offset: 0, .value_kind: by_value, .value_type: i32, .name: N } -+ - { .size: 4, .offset: 0, .value_kind: by_value, .value_type: i32, .name: X } - - { .size: 4, .offset: 4, .value_kind: by_value, .value_type: i32, .name: C } - - { .size: 4, .offset: 8, .value_kind: by_value, .value_type: i32, .name: H } - - { .size: 4, .offset: 12, .value_kind: by_value, .value_type: i32, .name: W } -diff --git a/src/kernels/Conv_Winograd_v16_5_0_epilogue.inc b/src/kernels/Conv_Winograd_v16_5_0_epilogue.inc -index 36d47c862..f8f677ec6 100644 ---- a/src/kernels/Conv_Winograd_v16_5_0_epilogue.inc -+++ b/src/kernels/Conv_Winograd_v16_5_0_epilogue.inc -@@ -76,7 +76,7 @@ amdhsa.kernels: - .max_flat_workgroup_size: \wg_x - .wavefront_size: 64 - .args: -- - { .size: 4, .offset: 0, .value_kind: by_value, .value_type: i32, .name: N } -+ - { .size: 4, .offset: 0, .value_kind: by_value, .value_type: i32, .name: X } - - { .size: 4, .offset: 4, .value_kind: by_value, .value_type: i32, .name: C } - - { .size: 4, .offset: 8, .value_kind: by_value, .value_type: i32, .name: H } - - { .size: 4, .offset: 12, .value_kind: by_value, .value_type: i32, .name: W } -diff --git a/src/kernels/Conv_Winograd_v21_1_3_metadata.inc b/src/kernels/Conv_Winograd_v21_1_3_metadata.inc -index deff81e84..ed47abea7 100644 ---- a/src/kernels/Conv_Winograd_v21_1_3_metadata.inc -+++ b/src/kernels/Conv_Winograd_v21_1_3_metadata.inc -@@ -51,7 +51,7 @@ amdhsa.kernels: - .max_flat_workgroup_size: \wg_x - .wavefront_size: 64 - .args: -- - { .size: 4, .offset: 0, .value_kind: by_value, .value_type: i32, .name: N } -+ - { .size: 4, .offset: 0, .value_kind: by_value, .value_type: i32, .name: X } - - { .size: 4, .offset: 4, .value_kind: by_value, .value_type: i32, .name: C } - - { .size: 4, .offset: 8, .value_kind: by_value, .value_type: i32, .name: H } - - { .size: 4, .offset: 12, .value_kind: by_value, .value_type: i32, .name: W } -diff --git a/src/kernels/conv1x1u.s b/src/kernels/conv1x1u.s -index 5dc213546..c890d45a4 100644 ---- a/src/kernels/conv1x1u.s -+++ b/src/kernels/conv1x1u.s -@@ -1076,7 +1076,7 @@ amdhsa.kernels: - .max_flat_workgroup_size: \wg_x - .wavefront_size: 64 - .args: -- - { .size: 4, .offset: 0, .value_kind: by_value, .value_type: i32, .name: N } -+ - { .size: 4, .offset: 0, .value_kind: by_value, .value_type: i32, .name: X } - - { .size: 4, .offset: 4, .value_kind: by_value, .value_type: i32, .name: C } - - { .size: 4, .offset: 8, .value_kind: by_value, .value_type: i32, .name: H } - - { .size: 4, .offset: 12, .value_kind: by_value, .value_type: i32, .name: W } -diff --git a/src/kernels/conv1x1u_bias_activ.s b/src/kernels/conv1x1u_bias_activ.s -index 1675e819a..6bbdd9936 100644 ---- a/src/kernels/conv1x1u_bias_activ.s -+++ b/src/kernels/conv1x1u_bias_activ.s -@@ -1230,7 +1230,7 @@ amdhsa.kernels: - .max_flat_workgroup_size: \wg_x - .wavefront_size: 64 - .args: -- - { .size: 4, .offset: 0, .value_kind: by_value, .value_type: i32, .name: N } -+ - { .size: 4, .offset: 0, .value_kind: by_value, .value_type: i32, .name: X } - - { .size: 4, .offset: 4, .value_kind: by_value, .value_type: i32, .name: C } - - { .size: 4, .offset: 8, .value_kind: by_value, .value_type: i32, .name: H } - - { .size: 4, .offset: 12, .value_kind: by_value, .value_type: i32, .name: W } -diff --git a/src/kernels/conv1x1u_stride2.s b/src/kernels/conv1x1u_stride2.s -index c5ea1e90c..6241edcf7 100644 ---- a/src/kernels/conv1x1u_stride2.s -+++ b/src/kernels/conv1x1u_stride2.s -@@ -1162,7 +1162,7 @@ amdhsa.kernels: - .max_flat_workgroup_size: \wg_x - .wavefront_size: 64 - .args: -- - { .size: 4, .offset: 0, .value_kind: by_value, .value_type: i32, .name: N } -+ - { .size: 4, .offset: 0, .value_kind: by_value, .value_type: i32, .name: X } - - { .size: 4, .offset: 4, .value_kind: by_value, .value_type: i32, .name: C } - - { .size: 4, .offset: 8, .value_kind: by_value, .value_type: i32, .name: H } - - { .size: 4, .offset: 12, .value_kind: by_value, .value_type: i32, .name: W } -diff --git a/src/kernels/conv1x1wrw.s b/src/kernels/conv1x1wrw.s -index b13b6ffa4..eb63f17c6 100644 ---- a/src/kernels/conv1x1wrw.s -+++ b/src/kernels/conv1x1wrw.s -@@ -1243,7 +1243,7 @@ amdhsa.kernels: - .max_flat_workgroup_size: \wg_x - .wavefront_size: 64 - .args: -- - { .size: 4, .offset: 0, .value_kind: by_value, .value_type: i32, .name: N } -+ - { .size: 4, .offset: 0, .value_kind: by_value, .value_type: i32, .name: X } - - { .size: 4, .offset: 4, .value_kind: by_value, .value_type: i32, .name: C } - - { .size: 4, .offset: 8, .value_kind: by_value, .value_type: i32, .name: H } - - { .size: 4, .offset: 12, .value_kind: by_value, .value_type: i32, .name: W } -diff --git a/src/kernels/conv3x3wrw.s b/src/kernels/conv3x3wrw.s -index a3f73aeae..b6fb1632c 100755 ---- a/src/kernels/conv3x3wrw.s -+++ b/src/kernels/conv3x3wrw.s -@@ -1033,7 +1033,7 @@ amdhsa.kernels: - .max_flat_workgroup_size: \wg_x - .wavefront_size: 64 - .args: -- - { .size: 4, .offset: 0, .value_kind: by_value, .value_type: i32, .name: N } -+ - { .size: 4, .offset: 0, .value_kind: by_value, .value_type: i32, .name: X } - - { .size: 4, .offset: 4, .value_kind: by_value, .value_type: i32, .name: C } - - { .size: 4, .offset: 8, .value_kind: by_value, .value_type: i32, .name: H } - - { .size: 4, .offset: 12, .value_kind: by_value, .value_type: i32, .name: W } -diff --git a/src/kernels/conv_3x3_wheel_alpha_v3_0b_epilogue.inc b/src/kernels/conv_3x3_wheel_alpha_v3_0b_epilogue.inc -index 358772e63..b27ad5284 100644 ---- a/src/kernels/conv_3x3_wheel_alpha_v3_0b_epilogue.inc -+++ b/src/kernels/conv_3x3_wheel_alpha_v3_0b_epilogue.inc -@@ -76,7 +76,7 @@ amdhsa.kernels: - .max_flat_workgroup_size: \wg_x - .wavefront_size: 64 - .args: -- - { .size: 4, .offset: 0, .value_kind: by_value, .value_type: i32, .name: N } -+ - { .size: 4, .offset: 0, .value_kind: by_value, .value_type: i32, .name: X } - - { .size: 4, .offset: 4, .value_kind: by_value, .value_type: i32, .name: C } - - { .size: 4, .offset: 8, .value_kind: by_value, .value_type: i32, .name: H } - - { .size: 4, .offset: 12, .value_kind: by_value, .value_type: i32, .name: W } -diff --git a/src/kernels/conv_3x3_wheel_alpha_v7_0_3b_epilogue.inc b/src/kernels/conv_3x3_wheel_alpha_v7_0_3b_epilogue.inc -index d3296969a..f873ce153 100644 ---- a/src/kernels/conv_3x3_wheel_alpha_v7_0_3b_epilogue.inc -+++ b/src/kernels/conv_3x3_wheel_alpha_v7_0_3b_epilogue.inc -@@ -76,7 +76,7 @@ amdhsa.kernels: - .max_flat_workgroup_size: \wg_x - .wavefront_size: 64 - .args: -- - { .size: 4, .offset: 0, .value_kind: by_value, .value_type: i32, .name: N } -+ - { .size: 4, .offset: 0, .value_kind: by_value, .value_type: i32, .name: X } - - { .size: 4, .offset: 4, .value_kind: by_value, .value_type: i32, .name: C } - - { .size: 4, .offset: 8, .value_kind: by_value, .value_type: i32, .name: H } - - { .size: 4, .offset: 12, .value_kind: by_value, .value_type: i32, .name: W } -diff --git a/src/kernels/conv_3x3_wheel_alpha_v9_0_15_epilogue.inc b/src/kernels/conv_3x3_wheel_alpha_v9_0_15_epilogue.inc -index a253cc0f9..1582d002c 100644 ---- a/src/kernels/conv_3x3_wheel_alpha_v9_0_15_epilogue.inc -+++ b/src/kernels/conv_3x3_wheel_alpha_v9_0_15_epilogue.inc -@@ -76,7 +76,7 @@ amdhsa.kernels: - .max_flat_workgroup_size: \wg_x - .wavefront_size: 64 - .args: -- - { .size: 4, .offset: 0, .value_kind: by_value, .value_type: i32, .name: N } -+ - { .size: 4, .offset: 0, .value_kind: by_value, .value_type: i32, .name: X } - - { .size: 4, .offset: 4, .value_kind: by_value, .value_type: i32, .name: C } - - { .size: 4, .offset: 8, .value_kind: by_value, .value_type: i32, .name: H } - - { .size: 4, .offset: 12, .value_kind: by_value, .value_type: i32, .name: W } -diff --git a/src/kernels/conv_3x3_wheel_alpha_v9_2_7_epilogue.inc b/src/kernels/conv_3x3_wheel_alpha_v9_2_7_epilogue.inc -index e40ac1f60..78495e024 100644 ---- a/src/kernels/conv_3x3_wheel_alpha_v9_2_7_epilogue.inc -+++ b/src/kernels/conv_3x3_wheel_alpha_v9_2_7_epilogue.inc -@@ -76,7 +76,7 @@ amdhsa.kernels: - .max_flat_workgroup_size: \wg_x - .wavefront_size: 64 - .args: -- - { .size: 4, .offset: 0, .value_kind: by_value, .value_type: i32, .name: N } -+ - { .size: 4, .offset: 0, .value_kind: by_value, .value_type: i32, .name: X } - - { .size: 4, .offset: 4, .value_kind: by_value, .value_type: i32, .name: C } - - { .size: 4, .offset: 8, .value_kind: by_value, .value_type: i32, .name: H } - - { .size: 4, .offset: 12, .value_kind: by_value, .value_type: i32, .name: W } -diff --git a/src/kernels/xform_bidirect_winograd_code.inc b/src/kernels/xform_bidirect_winograd_code.inc -index 724845f49..d03314ef5 100644 ---- a/src/kernels/xform_bidirect_winograd_code.inc -+++ b/src/kernels/xform_bidirect_winograd_code.inc -@@ -1566,7 +1566,7 @@ amdhsa.kernels: - .max_flat_workgroup_size: \wg_x - .wavefront_size: 64 - .args: -- - { .size: 4, .offset: 0, .value_kind: by_value, .value_type: i32, .name: N } -+ - { .size: 4, .offset: 0, .value_kind: by_value, .value_type: i32, .name: X } - - { .size: 4, .offset: 4, .value_kind: by_value, .value_type: i32, .name: C } - - { .size: 4, .offset: 8, .value_kind: by_value, .value_type: i32, .name: H } - - { .size: 4, .offset: 12, .value_kind: by_value, .value_type: i32, .name: W } -diff --git a/src/kernels/xform_metadata.inc b/src/kernels/xform_metadata.inc -index 960a9a2d8..83b736bee 100644 ---- a/src/kernels/xform_metadata.inc -+++ b/src/kernels/xform_metadata.inc -@@ -74,7 +74,7 @@ amdhsa.kernels: - .max_flat_workgroup_size: \wg_x - .wavefront_size: 64 - .args: -- - { .size: 4, .offset: 0, .value_kind: by_value, .value_type: i32, .name: N } -+ - { .size: 4, .offset: 0, .value_kind: by_value, .value_type: i32, .name: X } - - { .size: 4, .offset: 4, .value_kind: by_value, .value_type: i32, .name: C } - - { .size: 4, .offset: 8, .value_kind: by_value, .value_type: i32, .name: H } - - { .size: 4, .offset: 12, .value_kind: by_value, .value_type: i32, .name: W } diff --git a/sci-libs/miopen/files/miopen-5.1.3-deprecate-clang-ocl.patch b/sci-libs/miopen/files/miopen-5.1.3-deprecate-clang-ocl.patch deleted file mode 100644 index 93c66fd3ef05..000000000000 --- a/sci-libs/miopen/files/miopen-5.1.3-deprecate-clang-ocl.patch +++ /dev/null @@ -1,55 +0,0 @@ -This is a cherry picked PR on 5.1.3, which replace clang-ocl with clang -From 98f001dfe61208af04ecf7690023efd772ee7d43 Mon Sep 17 00:00:00 2001 -From: Jehandad Khan -Date: Tue, 19 Jul 2022 17:24:05 -0500 -Subject: [PATCH] Remove clang-ocl and replace with clang - ---- - CMakeLists.txt | 7 +------ - README.md | 1 - - src/hipoc/hipoc_program.cpp | 7 ++++++- - 3 files changed, 7 insertions(+), 8 deletions(-) - -Index: MIOpen-rocm-5.1.3/CMakeLists.txt -=================================================================== ---- MIOpen-rocm-5.1.3.orig/CMakeLists.txt -+++ MIOpen-rocm-5.1.3/CMakeLists.txt -@@ -241,7 +241,7 @@ if( MIOPEN_BACKEND STREQUAL "HIP" OR MIO - # miopentensile default off - set(MIOPEN_USE_MIOPENTENSILE OFF CACHE BOOL "") - -- find_program(HIP_OC_COMPILER clang-ocl -+ find_program(HIP_OC_COMPILER clang - PATH_SUFFIXES bin - PATHS - /opt/rocm -Index: MIOpen-rocm-5.1.3/README.md -=================================================================== ---- MIOpen-rocm-5.1.3.orig/README.md -+++ MIOpen-rocm-5.1.3/README.md -@@ -14,7 +14,6 @@ MIOpen supports two programming models - - * OpenCL - OpenCL libraries and header files - * HIP - - * HIP and HCC libraries and header files -- * [clang-ocl](https://github.com/RadeonOpenCompute/clang-ocl) -- **required** - * [MIOpenGEMM](https://github.com/ROCmSoftwarePlatform/MIOpenGEMM) to enable various functionalities including transposed and dilated convolutions. This is optional on the HIP backend. Users can enable this library using the cmake configuration flag `-DMIOPEN_USE_MIOPENGEMM=On`. - * ROCm cmake modules can be installed from [here](https://github.com/RadeonOpenCompute/rocm-cmake) - * [Half](http://half.sourceforge.net/) - IEEE 754-based half-precision floating point library -Index: MIOpen-rocm-5.1.3/src/hipoc/hipoc_program.cpp -=================================================================== ---- MIOpen-rocm-5.1.3.orig/src/hipoc/hipoc_program.cpp -+++ MIOpen-rocm-5.1.3/src/hipoc/hipoc_program.cpp -@@ -255,7 +255,12 @@ void HIPOCProgramImpl::BuildCodeObjectIn - if(miopen::IsEnabled(MIOPEN_DEBUG_OPENCL_WAVE64_NOWGP{})) - params += " -mwavefrontsize64 -mcumode"; - WriteFile(src, dir->path / filename); -- dir->Execute(HIP_OC_COMPILER, params + " " + filename + " -o " + hsaco_file.string()); -+ params += " -target amdgcn-amd-amdhsa -x cl -D__AMD__=1 -O3"; -+ params += " -cl-kernel-arg-info -cl-denorms-are-zero"; -+ params += " -cl-std=CL1.2 -mllvm -amdgpu-early-inline-all"; -+ params += " -mllvm -amdgpu-internalize-symbols "; -+ params += " " + filename + " -o " + hsaco_file.string(); -+ dir->Execute(HIP_OC_COMPILER, params); - } - if(!boost::filesystem::exists(hsaco_file)) - MIOPEN_THROW("Cant find file: " + hsaco_file.string()); diff --git a/sci-libs/miopen/files/miopen-5.1.3-gfx1031.patch b/sci-libs/miopen/files/miopen-5.1.3-gfx1031.patch deleted file mode 100644 index de22d66d887a..000000000000 --- a/sci-libs/miopen/files/miopen-5.1.3-gfx1031.patch +++ /dev/null @@ -1,375 +0,0 @@ -Enable gfx1031 support -====================== ---- MIOpen-rocm-5.1.3/fin/src/include/conv_fin.hpp 2022-05-08 14:08:05.000000000 +0800 -+++ gfx1031/fin/src/include/conv_fin.hpp 2022-09-01 18:36:18.630980283 +0800 -@@ -111,6 +111,10 @@ class ConvFin : public Fin - { - assert(num_cu == 72 || num_cu == 36); - } -+ else if(arch == "gfx1031") -+ { -+ assert(num_cu == 40 || num_cu == 20); -+ } - else if(arch == "gfx90a") - { - assert(num_cu == 110); -Only in MIOpen-rocm-5.1.3: patches ---- MIOpen-rocm-5.1.3/src/composable_kernel/composable_kernel/include/utility/config.hpp 2022-05-08 14:08:05.000000000 +0800 -+++ gfx1031/src/composable_kernel/composable_kernel/include/utility/config.hpp 2022-09-01 18:36:18.634980274 +0800 -@@ -13,7 +13,7 @@ - // GPU target - // should enable one and only one GPU target - #if !(defined(CK_AMD_GPU_GFX803) || defined(CK_AMD_GPU_GFX900) || defined(CK_AMD_GPU_GFX906) || \ -- defined(CK_AMD_GPU_GFX908) || defined(CK_AMD_GPU_GFX90A) || defined(CK_AMD_GPU_GFX1030)) -+ defined(CK_AMD_GPU_GFX908) || defined(CK_AMD_GPU_GFX90A) || defined(CK_AMD_GPU_GFX1030) || defined(CK_AMD_GPU_GFX1031)) - #error Need to define (only) one GPU target - #endif - -@@ -29,7 +29,7 @@ - #if defined(CK_AMD_GPU_GFX803) || defined(CK_AMD_GPU_GFX900) || defined(CK_AMD_GPU_GFX906) || \ - defined(CK_AMD_GPU_GFX908) || defined(CK_AMD_GPU_GFX90A) - #define CK_BUFFER_RESOURCE_3RD_DWORD 0x00020000 --#elif defined(CK_AMD_GPU_GFX1030) -+#elif (defined(CK_AMD_GPU_GFX1030) || defined(CK_AMD_GPU_GFX1031)) - #define CK_BUFFER_RESOURCE_3RD_DWORD 0x31014000 - #endif - -@@ -37,7 +37,7 @@ - #if defined(CK_AMD_GPU_GFX803) || defined(CK_AMD_GPU_GFX900) - #define CK_USE_AMD_V_MAC_F32 - #elif defined(CK_AMD_GPU_GFX906) || defined(CK_AMD_GPU_GFX908) || defined(CK_AMD_GPU_GFX90a) || \ -- defined(CK_AMD_GPU_GFX1030) -+ (defined(CK_AMD_GPU_GFX1030) || defined(CK_AMD_GPU_GFX1031)) - #define CK_USE_AMD_V_FMAC_F32 - #define CK_USE_AMD_V_DOT2_F32_F16 - #define CK_USE_AMD_V_DOT4_I32_I8 ---- MIOpen-rocm-5.1.3/src/include/miopen/solver/ck_utility_common.hpp 2022-05-08 14:08:05.000000000 +0800 -+++ gfx1031/src/include/miopen/solver/ck_utility_common.hpp 2022-09-01 18:36:18.638980266 +0800 -@@ -54,6 +54,7 @@ static inline bool is_ck_supported_hardw - StartsWith(handle.GetDeviceName(), "gfx908") || - StartsWith(handle.GetDeviceName(), "gfx90a") || - StartsWith(handle.GetDeviceName(), "gfx1030"); -+ StartsWith(handle.GetDeviceName(), "gfx1031"); - } - - static inline bool is_support_amd_buffer_atomic_fadd(const std::string& device_name) -@@ -83,6 +84,8 @@ static inline auto get_ck_common_compile - compiler_flag << " -DCK_AMD_GPU_GFX90A"; - else if(StartsWith(device_name, "gfx1030")) - compiler_flag << " -DCK_AMD_GPU_GFX1030"; -+ else if(StartsWith(device_name, "gfx1031")) -+ compiler_flag << " -DCK_AMD_GPU_GFX1031"; - - // buffer atomic-fadd - compiler_flag << " -DCK_USE_AMD_BUFFER_ATOMIC_FADD=" ---- MIOpen-rocm-5.1.3/src/include/miopen/solver/implicitgemm_util.hpp 2022-05-08 14:08:05.000000000 +0800 -+++ gfx1031/src/include/miopen/solver/implicitgemm_util.hpp 2022-09-01 18:36:18.638980266 +0800 -@@ -469,7 +469,7 @@ static inline bool is_use_amd_buffer_loa - { - #if WORKAROUND_MIOPEN_ISSUE_557 - const auto device_name = ctx.GetStream().GetDeviceName(); -- return !StartsWith(device_name, "gfx1030"); -+ return !StartsWith(device_name, "gfx1030") && !StartsWith(device_name, "gfx1031"); - #else - return true; - #endif -@@ -478,7 +478,7 @@ static inline bool is_use_amd_buffer_loa - static inline bool is_use_v_fmac_f32(const ConvolutionContext& ctx) - { - const auto device_name = ctx.GetStream().GetDeviceName(); -- return StartsWith(device_name, "gfx1030"); -+ return StartsWith(device_name, "gfx1030") || StartsWith(device_name, "gfx1031"); - } - - static inline bool support_amd_buffer_atomic_fadd(const std::string& device_name) -@@ -599,7 +599,8 @@ static inline bool IsComposableKernelSup - StartsWith(c.GetStream().GetDeviceName(), "gfx906") || - StartsWith(c.GetStream().GetDeviceName(), "gfx908") || - StartsWith(c.GetStream().GetDeviceName(), "gfx90a") || -- StartsWith(c.GetStream().GetDeviceName(), "gfx1030"); -+ StartsWith(c.GetStream().GetDeviceName(), "gfx1030")|| -+ StartsWith(c.GetStream().GetDeviceName(), "gfx1031"); - } - - // greatest common divisor, aka highest common factor ---- MIOpen-rocm-5.1.3/src/kernels/batchnorm_functions.h 2022-05-08 14:08:05.000000000 +0800 -+++ gfx1031/src/kernels/batchnorm_functions.h 2022-09-01 18:36:18.858979772 +0800 -@@ -159,6 +159,10 @@ - #define MIO_BN_GFX1030 0 - #endif - -+#ifndef MIO_BN_GFX1031 -+#define MIO_BN_GFX1031 0 -+#endif -+ - #define UNUSED __attribute__((__unused__)) - - #if(MIO_BN_VARIANT != 4) ---- MIOpen-rocm-5.1.3/src/kernels/MIOpenBatchNormActivBwdPerAct.cl 2022-05-08 14:08:05.000000000 +0800 -+++ gfx1031/src/kernels/MIOpenBatchNormActivBwdPerAct.cl 2022-09-01 18:36:18.858979772 +0800 -@@ -34,7 +34,7 @@ - #endif - - #define MIOPEN_USE_AMDGCN 0 --#if defined(__AMDGCN__) && MIO_BN_GFX1030 != 1 -+#if defined(__AMDGCN__) && MIO_BN_GFX1030 != 1 && MIO_BN_GFX1031 != 1 - #undef MIOPEN_USE_AMDGCN - #define MIOPEN_USE_AMDGCN 1 - #endif ---- MIOpen-rocm-5.1.3/src/kernels/MIOpenBatchNormActivBwdSpatial.cl 2022-05-08 14:08:05.000000000 +0800 -+++ gfx1031/src/kernels/MIOpenBatchNormActivBwdSpatial.cl 2022-09-01 18:36:18.858979772 +0800 -@@ -32,7 +32,7 @@ - #endif - - #define MIOPEN_USE_AMDGCN 0 --#if defined(__AMDGCN__) && MIO_BN_GFX1030 != 1 -+#if defined(__AMDGCN__) && MIO_BN_GFX1030 != 1 && MIO_BN_GFX1031 != 1 - #undef MIOPEN_USE_AMDGCN - #define MIOPEN_USE_AMDGCN 1 - #endif ---- MIOpen-rocm-5.1.3/src/kernels/MIOpenBatchNormActivFwdTrainSpatial.cl 2022-05-08 14:08:05.000000000 +0800 -+++ gfx1031/src/kernels/MIOpenBatchNormActivFwdTrainSpatial.cl 2022-09-01 18:36:18.858979772 +0800 -@@ -33,7 +33,7 @@ - #endif - - #define MIOPEN_USE_AMDGCN 0 --#if defined(__AMDGCN__) && MIO_BN_GFX1030 != 1 -+#if defined(__AMDGCN__) && MIO_BN_GFX1030 != 1 && MIO_BN_GFX1031 != 1 - #undef MIOPEN_USE_AMDGCN - #define MIOPEN_USE_AMDGCN 1 - #endif ---- MIOpen-rocm-5.1.3/src/kernels/MIOpenBatchNormBwdSpatial.cl 2022-05-08 14:08:05.000000000 +0800 -+++ gfx1031/src/kernels/MIOpenBatchNormBwdSpatial.cl 2022-09-01 18:36:18.858979772 +0800 -@@ -33,7 +33,7 @@ - #endif - - #define MIOPEN_USE_AMDGCN 0 --#if defined(__AMDGCN__) && MIO_BN_GFX1030 != 1 -+#if defined(__AMDGCN__) && MIO_BN_GFX1030 != 1 && MIO_BN_GFX1031 != 1 - #undef MIOPEN_USE_AMDGCN - #define MIOPEN_USE_AMDGCN 1 - #endif ---- MIOpen-rocm-5.1.3/src/kernels/MIOpenBatchNormFwdTrainSpatial.cl 2022-05-08 14:08:05.000000000 +0800 -+++ gfx1031/src/kernels/MIOpenBatchNormFwdTrainSpatial.cl 2022-09-01 18:36:18.858979772 +0800 -@@ -33,7 +33,7 @@ - #endif - - #define MIOPEN_USE_AMDGCN 0 --#if defined(__AMDGCN__) && MIO_BN_GFX1030 != 1 -+#if defined(__AMDGCN__) && MIO_BN_GFX1030 != 1 && MIO_BN_GFX1031 != 1 - #undef MIOPEN_USE_AMDGCN - #define MIOPEN_USE_AMDGCN 1 - #endif ---- MIOpen-rocm-5.1.3/src/md_graph.cpp 2022-05-08 14:08:05.000000000 +0800 -+++ gfx1031/src/md_graph.cpp 2022-09-01 18:36:18.630980283 +0800 -@@ -738,8 +738,8 @@ void FusionMDGraph::InitConv(FusionMDGra - - add_v21_wino("gfx9", {"gfx900", "gfx906", "gfx908", "gfx90a"}, 1); - add_v21_wino("gfx9", {"gfx900", "gfx906", "gfx908", "gfx90a"}, 2); -- add_v21_wino("gfx10", {"gfx1011", "gfx1012", "gfx1030"}, 1); -- add_v21_wino("gfx10", {"gfx1011", "gfx1012", "gfx1030"}, 2); -+ add_v21_wino("gfx10", {"gfx1011", "gfx1012", "gfx1030", "gfx1031"}, 1); -+ add_v21_wino("gfx10", {"gfx1011", "gfx1012", "gfx1030", "gfx1031"}, 2); - } - } - ---- MIOpen-rocm-5.1.3/src/ocl/fusionopbiasbnactivocl.cpp 2022-05-08 14:08:05.000000000 +0800 -+++ gfx1031/src/ocl/fusionopbiasbnactivocl.cpp 2022-09-01 18:36:18.634980274 +0800 -@@ -392,7 +392,8 @@ miopenStatus_t BatchNormBwdTrainFusionOp - " -DMIO_BN_USESAVED=" + std::to_string(static_cast(true)) + - " -DMIO_BN_VARIANT=" + std::to_string(variant) + - " -DMIO_BN_CBA_WRITE_INTERMEDIATE=" + std::to_string(0) + -- " -DMIO_BN_GFX1030=" + ((handle.GetDeviceName() == "gfx1030") ? "1" : "0"); -+ " -DMIO_BN_GFX1030=" + ((handle.GetDeviceName() == "gfx1030") ? "1" : "0") + -+ " -DMIO_BN_GFX1031=" + ((handle.GetDeviceName() == "gfx1031") ? "1" : "0"); - - compile_config += add; - MIOPEN_LOG_I2(add); -@@ -607,7 +608,8 @@ miopenStatus_t BatchNormFwdTrainFusionOp - " -DMIO_SAVE_MEAN_VARIANCE=" + (saveBatchStats ? "1" : "0") + - " -DMIO_RUNNING_RESULT=" + ((savePopStats) ? "1" : "0") + - " -DMIO_BN_VARIANT=" + std::to_string(variant) + -- " -DMIO_BN_GFX1030=" + ((handle.GetDeviceName() == "gfx1030") ? "1" : "0"); -+ " -DMIO_BN_GFX1030=" + ((handle.GetDeviceName() == "gfx1030") ? "1" : "0") + -+ " -DMIO_BN_GFX1031=" + ((handle.GetDeviceName() == "gfx1031") ? "1" : "0"); - - compile_config += add; - MIOPEN_LOG_I2(add); ---- MIOpen-rocm-5.1.3/src/solver/batchnorm/backward_per_activation.cpp 2022-05-08 14:08:05.000000000 +0800 -+++ gfx1031/src/solver/batchnorm/backward_per_activation.cpp 2022-09-01 18:36:18.638980266 +0800 -@@ -113,6 +113,7 @@ BnBwdTrainingPerActivation::GetSolution( - {"MIO_BN_GRP1", ylocalsize}, - {"MIO_BN_GRP2", zlocalsize}, - {"MIO_BN_GFX1030", ((handle.GetDeviceName() == "gfx1030") ? "1" : "0")}, -+ {"MIO_BN_GFX1031", ((handle.GetDeviceName() == "gfx1031") ? "1" : "0")}, - }; - - kernel.comp_options = build_params.GenerateFor(kbp::OpenCL{}); ---- MIOpen-rocm-5.1.3/src/solver/batchnorm/backward_spatial_multiple.cpp 2022-05-08 14:08:05.000000000 +0800 -+++ gfx1031/src/solver/batchnorm/backward_spatial_multiple.cpp 2022-09-01 18:36:18.638980266 +0800 -@@ -210,6 +210,7 @@ ConvSolution BnBwdTrainingSpatialMultipl - {"MIO_BN_GRP1", ylocalsize}, - {"MIO_BN_GRP2", zlocalsize}, - {"MIO_BN_GFX1030", ((handle.GetDeviceName() == "gfx1030") ? "1" : "0")}, -+ {"MIO_BN_GFX1031", ((handle.GetDeviceName() == "gfx1031") ? "1" : "0")}, - {"MIO_LAYOUT_NHWC", static_cast(problem.IsLayoutNHWC())}, - }; - ---- MIOpen-rocm-5.1.3/src/solver/batchnorm/backward_spatial_single.cpp 2022-05-08 14:08:05.000000000 +0800 -+++ gfx1031/src/solver/batchnorm/backward_spatial_single.cpp 2022-09-01 18:36:18.638980266 +0800 -@@ -247,6 +247,7 @@ BnBwdTrainingSpatialSingle::GetSolution( - - build_params << KernelBuildParameters{ - {"MIO_BN_GFX1030", (handle.GetDeviceName() == "gfx1030") ? "1" : "0"}, -+ {"MIO_BN_GFX1031", ((handle.GetDeviceName() == "gfx1031") ? "1" : "0")}, - }; - - kernel.comp_options = build_params.GenerateFor(kbp::OpenCL{}); ---- MIOpen-rocm-5.1.3/src/solver/batchnorm/forward_inference.cpp 2022-05-08 14:08:05.000000000 +0800 -+++ gfx1031/src/solver/batchnorm/forward_inference.cpp 2022-09-01 18:36:18.638980266 +0800 -@@ -103,6 +103,7 @@ ConvSolution BnFwdInference::GetSolution - {"MIO_BN_GRP1", ylocalsize}, - {"MIO_BN_GRP2", zlocalsize}, - {"MIO_BN_GFX1030", ((handle.GetDeviceName() == "gfx1030") ? "1" : "0")}, -+ {"MIO_BN_GFX1031", ((handle.GetDeviceName() == "gfx1031") ? "1" : "0")}, - }; - - kernel.comp_options = build_params.GenerateFor(kbp::OpenCL{}); ---- MIOpen-rocm-5.1.3/src/solver/batchnorm/forward_per_activation.cpp 2022-05-08 14:08:05.000000000 +0800 -+++ gfx1031/src/solver/batchnorm/forward_per_activation.cpp 2022-09-01 18:36:18.638980266 +0800 -@@ -105,6 +105,7 @@ BnFwdTrainingPerActivation::GetSolution( - {"MIO_BN_GRP1", ylocalsize}, - {"MIO_BN_GRP2", zlocalsize}, - {"MIO_BN_GFX1030", ((handle.GetDeviceName() == "gfx1030") ? "1" : "0")}, -+ {"MIO_BN_GFX1031", ((handle.GetDeviceName() == "gfx1031") ? "1" : "0")}, - }; - - auto kernel = KernelInfo{}; ---- MIOpen-rocm-5.1.3/src/solver/batchnorm/forward_spatial_multiple.cpp 2022-05-08 14:08:05.000000000 +0800 -+++ gfx1031/src/solver/batchnorm/forward_spatial_multiple.cpp 2022-09-01 18:36:18.638980266 +0800 -@@ -177,6 +177,7 @@ ConvSolution BnFwdTrainingSpatialMultipl - {"MIO_BN_GRP1", ylocalsize}, - {"MIO_BN_GRP2", zlocalsize}, - {"MIO_BN_GFX1030", ((handle.GetDeviceName() == "gfx1030") ? "1" : "0")}, -+ {"MIO_BN_GFX1031", ((handle.GetDeviceName() == "gfx1031") ? "1" : "0")}, - {"MIO_LAYOUT_NHWC", static_cast(problem.IsLayoutNHWC())}, - }; - ---- MIOpen-rocm-5.1.3/src/solver/batchnorm/forward_spatial_single.cpp 2022-05-08 14:08:05.000000000 +0800 -+++ gfx1031/src/solver/batchnorm/forward_spatial_single.cpp 2022-09-01 18:36:18.638980266 +0800 -@@ -211,6 +211,7 @@ BnFwdTrainingSpatialSingle::GetSolution( - {"MIO_BN_GRP1", ylocalsize}, - {"MIO_BN_GRP2", zlocalsize}, - {"MIO_BN_GFX1030", ((handle.GetDeviceName() == "gfx1030") ? "1" : "0")}, -+ {"MIO_BN_GFX1031", ((handle.GetDeviceName() == "gfx1031") ? "1" : "0")}, - {"MIO_LAYOUT_NHWC", static_cast(problem.IsLayoutNHWC())}, - }; - ---- MIOpen-rocm-5.1.3/src/target_properties.cpp 2022-05-08 14:08:05.000000000 +0800 -+++ gfx1031/src/target_properties.cpp 2022-09-01 18:36:18.630980283 +0800 -@@ -54,6 +54,7 @@ static std::string GetDeviceNameFromMap( - {"Vega10", "gfx900"}, - {"gfx901", "gfx900"}, - {"10.3.0 Sienna_Cichlid 18", "gfx1030"}, -+ {"10.3.1 Navi_flounder 18", "gfx1031"}, - }; - - const char* const p_asciz = miopen::GetStringEnv(MIOPEN_DEBUG_ENFORCE_DEVICE{}); ---- MIOpen-rocm-5.1.3/test/CMakeLists.txt 2022-05-08 14:08:05.000000000 +0800 -+++ gfx1031/test/CMakeLists.txt 2022-09-01 18:36:19.022979405 +0800 -@@ -38,6 +38,7 @@ option( MIOPEN_TEST_GFX90A "Test on gfx9 - option( MIOPEN_TEST_GFX900 "Test on Vega10 (gfx900)" OFF ) - option( MIOPEN_TEST_GFX906 "Test on Vega20 (gfx906)" OFF ) - option( MIOPEN_TEST_GFX1030 "Test on Navi21 (gfx1030)" OFF ) -+option( MIOPEN_TEST_GFX1031 "Test on Navi21 (gfx1031)" OFF ) - option( MIOPEN_TEST_GPU_XNACK_ENABLED "Test as if XNACK mode is enabled" OFF ) - option( MIOPEN_TEST_CONV Off) - option( MIOPEN_TEST_DEEPBENCH Off) -@@ -74,7 +75,7 @@ endif() - # Also we do not detect GPU when target GPU for testing is specified explicitly. - set(MIOPEN_TEST_GPU_DETECTION_FAILED FALSE) - set(MIOPEN_NO_GPU FALSE) --if(NOT (MIOPEN_TEST_GFX900 OR MIOPEN_TEST_GFX906 OR MIOPEN_TEST_GFX908 OR MIOPEN_TEST_GFX90A OR MIOPEN_TEST_GFX1030 OR MIOPEN_TEST_HIP_NOGPU)) -+if(NOT (MIOPEN_TEST_GFX900 OR MIOPEN_TEST_GFX906 OR MIOPEN_TEST_GFX908 OR MIOPEN_TEST_GFX90A OR MIOPEN_TEST_GFX1030 OR MIOPEN_TEST_GFX1031 OR MIOPEN_TEST_HIP_NOGPU)) - find_program(ROCMINFO - NAMES rocminfo - PATHS -@@ -96,6 +97,8 @@ if(NOT (MIOPEN_TEST_GFX900 OR MIOPEN_TES - elseif (NOT ROCMINFO_EXIT_STATUS EQUAL 0) - message(WARNING "ROCMINFO FAILED, GPU TYPE UNKNOWN. Manually set respective MIOPEN_TEST_GFX* CMake variable to specify target GPU for testing.") - set(MIOPEN_TEST_GPU_DETECTION_FAILED TRUE) -+ elseif(ROCMINFO_OUTPUT MATCHES "gfx1031") -+ set(MIOPEN_TEST_GFX1031 ON) - elseif(ROCMINFO_OUTPUT MATCHES "gfx1030") - set(MIOPEN_TEST_GFX1030 ON) - elseif(ROCMINFO_OUTPUT MATCHES "gfx900") -@@ -125,6 +128,7 @@ message(STATUS "MIOPEN_TEST_GFX906 ${MIO - message(STATUS "MIOPEN_TEST_GFX908 ${MIOPEN_TEST_GFX908}") - message(STATUS "MIOPEN_TEST_GFX90A ${MIOPEN_TEST_GFX90A}") - message(STATUS "MIOPEN_TEST_GFX1030 ${MIOPEN_TEST_GFX1030}") -+message(STATUS "MIOPEN_TEST_GFX1031 ${MIOPEN_TEST_GFX1031}") - message(STATUS "MIOPEN_TEST_GPU_XNACK_ENABLED ${MIOPEN_TEST_GPU_XNACK_ENABLED}") - message(STATUS "MIOPEN_TEST_GPU_DETECTION_FAILED ${MIOPEN_TEST_GPU_DETECTION_FAILED}") - -@@ -167,10 +171,10 @@ endmacro() - set_var_to_condition(WORKAROUND_ISSUE_1187_DEFAULT MIOPEN_TEST_GFX90A AND MIOPEN_TEST_FLOAT) - option( WORKAROUND_ISSUE_1187 "" ${WORKAROUND_ISSUE_1187_DEFAULT}) - --set_var_to_condition(WORKAROUND_ISSUE_1148_DEFAULT MIOPEN_TEST_GFX1030 AND MIOPEN_TEST_FLOAT) -+set_var_to_condition(WORKAROUND_ISSUE_1148_DEFAULT MIOPEN_TEST_GFX1030 OR MIOPEN_TEST_GFX1031 AND MIOPEN_TEST_FLOAT) - option( WORKAROUND_ISSUE_1148 "" ${WORKAROUND_ISSUE_1148_DEFAULT}) - --set_var_to_condition(WORKAROUND_ISSUE_1334_DEFAULT MIOPEN_TEST_GFX1030 AND MIOPEN_TEST_FLOAT) -+set_var_to_condition(WORKAROUND_ISSUE_1334_DEFAULT MIOPEN_TEST_GFX1030 OR MIOPEN_TEST_GFX1031 AND MIOPEN_TEST_FLOAT) - option( WORKAROUND_ISSUE_1334 "" ${WORKAROUND_ISSUE_1334_DEFAULT}) - - if(NOT MIOPEN_TEST_MIOTENSILE) -@@ -216,7 +220,7 @@ if (MIOPEN_NO_GPU) - test_pooling3d test_perfdb) - endif() - --if(MIOPEN_TEST_GFX1030) -+if(MIOPEN_TEST_GFX1030 OR MIOPEN_TEST_GFX1031) - if(WORKAROUND_ISSUE_1053 AND MIOPEN_TEST_ALL) - list(APPEND SKIP_TESTS test_lrn_test) - endif() -@@ -439,7 +443,7 @@ endfunction() - # If nothing is specified, the default value is taken. - # Default: FLOAT_ENABLED HALF_DISABLED BF16_DISABLED INT8_DISABLED - # --# GPU types: GFX900, GFX906, GFX908, GFX90A, GFX1030 -+# GPU types: GFX900, GFX906, GFX908, GFX90A, GFX1030, GFX1031 - # The option can be enabled or disabled by using '_ENABLED' and '_DISABLED' suffix. - # If nothing is specified, the default value is taken. - # Default: GFX900_ENABLED, GFX906_ENABLED, GFX908_ENABLED, GFX90A_ENABLED, GFX1030_DISABLED -@@ -571,7 +575,7 @@ function(add_custom_test NAME) - set_tests_properties(${NAME} PROPERTIES RUN_SERIAL On) - endif() - -- if( (is_gfx900_check OR is_gfx906_check OR is_gfx908_check OR is_gfx1030_check OR is_gfx90a_check) -+ if( (is_gfx900_check OR is_gfx906_check OR is_gfx908_check OR is_gfx1030_check OR is_gfx1031_check OR is_gfx90a_check) - AND is_full_check - AND is_xnack_on_check - AND (is_miotensile_check AND is_mlir_check) ---- MIOpen-rocm-5.1.3/test/handle_test.cpp 2022-05-08 14:08:05.000000000 +0800 -+++ gfx1031/test/handle_test.cpp 2022-09-01 18:36:19.018979413 +0800 -@@ -234,7 +234,7 @@ void test_warnings(kernel_type_t kern_ty - void test_arch_name() - { - auto&& h = get_handle(); -- auto known_arch = {"gfx908", "gfx90a", "gfx906", "gfx900", "gfx803", "gfx1030"}; -+ auto known_arch = {"gfx908", "gfx90a", "gfx906", "gfx900", "gfx803", "gfx1030", "gfx1031"}; - auto this_arch = h.GetDeviceName(); - EXPECT(std::any_of( - known_arch.begin(), known_arch.end(), [&](std::string arch) { return arch == this_arch; })); ---- MIOpen-rocm-5.1.3/test/mdgraph.cpp 2022-05-08 14:08:05.000000000 +0800 -+++ gfx1031/test/mdgraph.cpp 2022-09-01 18:36:19.022979405 +0800 -@@ -222,7 +222,7 @@ struct mdgraph_driver : test_driver - auto target = h.GetTargetProperties(); - - auto wino_supported_arch = { -- "gfx1030", "gfx1012", "gfx1011", "gfx90a", "gfx908", "gfx906", "gfx900", "gfx803"}; -+ "gfx1030", "gfx1031","gfx1012", "gfx1011", "gfx90a", "gfx908", "gfx906", "gfx900", "gfx803"}; - - auto is_wino_support = !xnack_enabled && - !miopen::IsDisabled(MIOPEN_DEBUG_GCN_ASM_KERNELS{}) && diff --git a/sci-libs/miopen/miopen-5.1.3-r1.ebuild b/sci-libs/miopen/miopen-5.1.3-r1.ebuild deleted file mode 100644 index 7d02435948f7..000000000000 --- a/sci-libs/miopen/miopen-5.1.3-r1.ebuild +++ /dev/null @@ -1,110 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake flag-o-matic llvm rocm - -LLVM_MAX_SLOT=15 - -DESCRIPTION="AMD's Machine Intelligence Library" -HOMEPAGE="https://github.com/ROCmSoftwarePlatform/MIOpen" -SRC_URI="https://github.com/ROCmSoftwarePlatform/MIOpen/archive/rocm-${PV}.tar.gz -> MIOpen-${PV}.tar.gz" - -LICENSE="MIT" -KEYWORDS="~amd64" -SLOT="0/$(ver_cut 1-2)" - -IUSE="debug test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-util/hip-5.1.3 - >=dev-db/sqlite-3.17 - sci-libs/rocBLAS:${SLOT}[${ROCM_USEDEP}] - >=dev-libs/boost-1.72 -" - -DEPEND="${RDEPEND}" - -BDEPEND="dev-libs/half:0/1 - dev-build/rocm-cmake -" - -S="${WORKDIR}/MIOpen-rocm-${PV}" - -PATCHES=( - "${FILESDIR}/${PN}-4.2.0-disable-no-inline-boost.patch" - "${FILESDIR}/${PN}-4.2.0-gcc11-numeric_limits.patch" - "${FILESDIR}/${PN}-5.0.2-strip-xnack-in-flags.patch" - "${FILESDIR}/${PN}-4.3.0-fix-interface-include-in-HIP_COMPILER_FLAGS.patch" - "${FILESDIR}/${PN}-4.3.0-enable-test.patch" - "${FILESDIR}/${PN}-5.1.3-gfx1031.patch" - "${FILESDIR}/${PN}-5.1.3-deprecate-clang-ocl.patch" - "${FILESDIR}/${PN}-5.1.3-no-strip.patch" - "${FILESDIR}/${PN}-5.1.3-include-array.patch" - "${FILESDIR}/${PN}-5.1.3-avoid-metadata-error-for-vanilla-clang.patch" -) - -src_prepare() { - cmake_src_prepare - - sed -e "s:/opt/rocm/llvm:$(get_llvm_prefix ${LLVM_MAX_SLOT}) NO_DEFAULT_PATH:" \ - -e "s:/opt/rocm/hip:$(hipconfig -p) NO_DEFAULT_PATH:" \ - -e '/set( MIOPEN_INSTALL_DIR/s:miopen:${CMAKE_INSTALL_PREFIX}:' \ - -e '/MIOPEN_TIDY_ERRORS ALL/d' \ - -i CMakeLists.txt || die - - sed -e "/rocm_install_symlink_subdir(\${MIOPEN_INSTALL_DIR})/d" -i src/CMakeLists.txt || die - sed -e "/add_test/s:--build \${CMAKE_CURRENT_BINARY_DIR}:--build ${BUILD_DIR}:" -i test/CMakeLists.txt || die - - sed -e "s:\${AMD_DEVICE_LIBS_PREFIX}/lib:${EPREFIX}/usr/lib/amdgcn/bitcode:" -i cmake/hip-config.cmake || die - - # This plus avoid-metadata-error-for-vanilla-clang.patch fix bug mentioned - # in https://github.com/ROCmSoftwarePlatform/MIOpen/issues/1731 - find src/kernels -name "*.s" -exec \ - sed -e "s/.name: n /.name: x /g" -e "s/.name: y /.name: z /g" \ - -e "s/.name: y,/.name: z,/g" -i {} \; || die -} - -src_configure() { - if ! use debug; then - append-cflags "-DNDEBUG" - append-cxxflags "-DNDEBUG" - CMAKE_BUILD_TYPE="Release" - else - CMAKE_BUILD_TYPE="Debug" - fi - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" - -DMIOPEN_BACKEND=HIP - -DBoost_USE_STATIC_LIBS=OFF - -DMIOPEN_USE_MLIR=OFF - -DBUILD_TESTS=$(usex test ON OFF) - -DMIOPEN_TEST_ALL=$(usex test ON OFF) - -DHALF_INCLUDE_DIR="${EPREFIX}/usr/include/half" - ) - - if use test; then - for gpu_target in ${AMDGPU_TARGETS}; do - mycmakeargs+=( -DMIOPEN_TEST_${gpu_target^^}=ON ) - done - fi - - addpredict /dev/kfd - addpredict /dev/dri/ - append-cxxflags "--rocm-path=$(hipconfig -R)" - append-cxxflags "--hip-device-lib-path=${EPREFIX}/usr/lib/amdgcn/bitcode" - CXX="$(get_llvm_prefix ${LLVM_MAX_SLOT})/bin/clang++" cmake_src_configure -} - -src_test() { - check_amdgpu - export LD_LIBRARY_PATH="${BUILD_DIR}"/lib - MAKEOPTS="-j1" cmake_src_test -} diff --git a/sci-libs/rocBLAS/Manifest b/sci-libs/rocBLAS/Manifest index e9e535fb3db1..1acdb477e43c 100644 --- a/sci-libs/rocBLAS/Manifest +++ b/sci-libs/rocBLAS/Manifest @@ -1,25 +1,14 @@ -AUX rocBLAS-4.3.0-fix-glibc-2.32-and-above.patch 1254 BLAKE2B d3bcf526f374065ed0615c89ab74cbc203d2d6b6d0a1c49072f3328aaa40aa52f0fa155b23a936a865d353db32f48f348a64f05f157eb6bb2d55c93f9da364d1 SHA512 e899b26e3dc4717cb7854c16d104b9e070067f49e308fe6a38f1be5735a83a814da46ab41752cf4431b4c378d29f31c6082e1fe63e1bf5ae72a55b54a9017c15 -AUX rocBLAS-5.0.2-change-default-Tensile-library-dir.patch 2070 BLAKE2B b90c31653c68583432f54c3a17067a92e7fd91e66f902f37e96a7a413b885de57820b93c5a98458b1d6f4b4283138dac274ece1ec97f3fc0dd3ea00ce6002542 SHA512 946f9d66ac703628829ff585890ea9eae71f441e10bb1ff21f8dfad9a5d73279ed4880c4b96ac662be76af10ebe63ccbe0ef9f2c55fb2ebfc5c9087f32119b2a -AUX rocBLAS-5.0.2-cpp_lib_filesystem.patch 1546 BLAKE2B e9a794a87b76a41d059c755565ae5da9a361b0c4648a92dd5ce35f9b5bd8c743827fcf79752c393a786c30083cd7db59bc334599d414920ce72c24216d014124 SHA512 e80ac744ce44bc9023de2600290c37577bda6161bfe750ac2b746d8fea7b45334a96461baa74131d0e31db497f8dd123ccd5dc181a40b265c2e2c72e1e479e88 -AUX rocBLAS-5.0.2-unbundle-Tensile.patch 1352 BLAKE2B 48300030abee9898397919cbbea187fd16d770e20cdcfddd7665c160f47e362ad63acf9f443f86d824a999398d0c6f5aee8295a963dce2653bc94518c8ac9674 SHA512 39c4aff4fc60692e0450aa844ce979afe031c3ba3adb0cdf0866d0766714bf28a4c5664c18de7520b63d3fc2864de51939a596e864e97d0b8935681cabd7a84d AUX rocBLAS-5.4.2-add-missing-header.patch 271 BLAKE2B 19e401ef1cc6d0d852a1338b79fd5b99c03077d830d75c9260c8437c984d85431ae3d508a4178116ae4ddb000e904ff01de759d86d65056671704c4e79b9f0a1 SHA512 055e35eb53b582f1da270f3ccab4b8705600814461ceeae80ce73e1845380a716e1ccc7c1ec66def6ff17b4daee3f279ab468e2d7c9c704def9d7d80c2756e3a AUX rocBLAS-5.4.2-cpp_lib_filesystem.patch 898 BLAKE2B 403b42f0193f2d21585fe8f8a851f673177930bea8ef0f1816bfebf7cc8765928f392bf6262128da8760b0283d4768bcfa1ff9a7cd2673dec4c1f0a114a61bd1 SHA512 ff914510474fb1869a75f161c7bbe8a9a82079b820e95fcb3ab87bf21cfbfb80cf91a17603e198411a20c25b5fd76771de6745203e4bcad2cbca0dfbfccdffd2 AUX rocBLAS-5.4.2-link-cblas.patch 508 BLAKE2B ab53db7c73cc174039880ebd8987adc88f83d61e84bf024e2a6367f5bc9414ac343843610382bae43b4dcf874f6cf9e91bc3bd865264e37517f280d50881b4ff SHA512 fa91f817a06f517b38d3d3a71110da59d6579bf7915d6f47deefc46c532ca10d17802815662d8909ee52fb155b82339122601793858e52c13c6cc93cac283fc9 -AUX rocBLAS-5.4.2-unbundle-Tensile.patch 1373 BLAKE2B 944771b7511de883aa106016cf59e3cb94248119af472aed75c76c712fc9ee2e9e765d472ef727776d95ee478f1701c12853c37be269ee4940a3cde9e1f41cc7 SHA512 bdf01803a0594b53f248bc57594e7bed2f3f4cc772de8b5a043fa849798887291cb14d273511d33453c0685a113a9064a218a56d57631d2e9c1126eb62853668 AUX rocBLAS-5.7.1-expand-isa-compatibility.patch 3771 BLAKE2B 3be8a45734c4d3ce0d54981e48685c500d6cf8ba1981b6035f2cb83cad1c221afcf50e5d9fbdaa9966ce64e99845c57b32267adda7983bb9a511fec661a0cfeb SHA512 86eedaa1bf6d0430f4b059d9257539dd95d56bdfc0cb61ceb0d180e29f76e280505c8b0002eba71c8152522c637917cd0b9ac7fb2f07059b3b5b6076f8ac7c59 AUX rocBLAS-6.0.2-expand-isa-compatibility.patch 3792 BLAKE2B 55a57fad4cce821f83d04156942c33ab1842389dc0c4ad1ceea0c2435a37d9912bf24f0359023735b503bea5505b47e2e707b0798d93cdc5622d34821b1e3950 SHA512 c21de66ddc126b5ac5b588c9e68283e8d32574ec0a28963e62244a176edfb0c9188236a75b3985d2cf9043f4fb919a837326ede94045dce9158e9651228b0c38 AUX rocBLAS-6.3.0-find-cblas.patch 826 BLAKE2B efb788243bb137bf2519757928d1594478f560db75e92ed0b7fc1f1d40c9e5ed2047692e4c17a11a8f7d0b283227b38b0b3bacc323606d2f4b33f122699512b5 SHA512 cbf29a83375d6eca6efc319e7becd198ed205b1288c108e98a69968c629c979c07950d4743ef96e7ba88a9a28db9898e07b6c72bcd447370f4a00ae6812828f3 AUX rocBLAS-6.3.0-no-git.patch 781 BLAKE2B 74e58498aec88b586c949288b3f9e5c58f77198fd1c277a7bd797fc0a7004e6786797672a419912ef4d53589edf142b9335c82c77b34defd5409ca7240e8ee70 SHA512 137ee786ac1f3515a706106d8d5057b8fc1e0d4b0470a0eb46aca252f3e64cee21734a90e194e01db95a0439c48b798e81c3993a615d31275c925f81004f9da6 -DIST rocBLAS-5.0.2-Tensile-asm_full-navi22.tar.gz 1110323 BLAKE2B 80fab97c6f89fccf1f8829ad41baf15ad31bbbb313b48825841834c7ec1b9f8ece794aebdf9fda42b54a38f642beb1bc1e374f2f3b4e43d8ba9dfd1eb6e3ece5 SHA512 8f6946cf9d68afd195640ae7e0da8dc33341c67f28813813b5361a56531fa2af4453d075703ea52c66d93a1936cf74688b86aa2fa62b52a7ed5f03272290c232 -DIST rocBLAS-5.4.2-Tensile-asm_full-navi22.tar.gz 1057686 BLAKE2B aa755595bbcd48775713f1d94c18b9bfa6464cae97653dd5beda9e4ed600802b62c4159e6edef7fbd4c92e629bbda1c284e6c48e096c7eaf22bbaad86bdcdace SHA512 cdc928528e7ce5bcc3ae32ec18e3aee48533f24e77c1e42f6e0398858eefebd52b8812caabe01a0ef7fa552e00118b862e025f1675a9642b009f1e38efbcdd53 -DIST rocm-rocBLAS-5.1.3.tar.gz 13741546 BLAKE2B af10d8cb69bee44ef5aab2dc350e1d9f3b6fddb3a840c17230c4b55b2649a4724c9f2e58c1eafdb3e2716eea016a72a35c3ddb498881b1ce682d780baa8d8b07 SHA512 5ab71838fdd0e9c5848cbf28a19d113353b619a878d8c7d05f64feb32faae2054169c95ed6e9dd6b05a2e807b57229dd2c361c4d289b6e6f17c196558640890f -DIST rocm-rocBLAS-5.4.2.tar.gz 15938434 BLAKE2B 14ebafa944fdac443800bb7f9b16f8ecf0f420b168d3c6534f68ad7d14bf058a4cc1673fce8f4b9be53e4a6c1cf05011e01853cd901bce0b59827d2aca4d029f SHA512 e62bb80457c1e89454885499bdce9d60beecd706806724418983c78c65c2ae303550f9670b5a6e71dae6a61c0e42b223ab01b36b8406430731ebcbff54c4a8f4 DIST rocm-rocBLAS-5.7.1.tar.gz 55389700 BLAKE2B 9e58b1d29c8a04aa58ce17fdd9b0c2504934261851619dc5b696a04e8c6a79e7c44d86a6db7a9c76a434d76593de8c191cba6f163cf398d01cfc001e5fa32b5a SHA512 cfc73f6c490595a3c153c2ac2a3cb5926c48c2c19baa07ff3dcdf3a7ccaed82cfdff64ed5a3be64c349cb43d654d4b104d9090e2ec9f2061049d6a4921c07722 DIST rocm-rocBLAS-6.1.1.tar.gz 100103895 BLAKE2B df89a21e47730714b80c62717a86d65ac0d819c2d33b2a3c6252b60b8d7cc9eb5f8f1db27159b0a8dfc87aba7ccad97e2f832bc0044e92d0b69c526d382c745a SHA512 74e847c4ddee16cae7f41e268a815ea03875519c365abe7dfce313a9545df245baa73301b432f64a36cc988281fec7530629a0d72583e9ea287c98ec8a0b3907 DIST rocm-rocBLAS-6.3.0.tar.gz 57907324 BLAKE2B a3cce68e0cc06e8df56e1622889254c75744b0f85c9fe66cb94bbc158f7ce45e40a5798d30e6a10430092490c1e347f19f38b36db767ccb784c5757581b0bccb SHA512 45a524d680f1f0760fd37d49b9bd7c6257731ad5d840d832a8e40c121f7f1045a8d5b57ca8ef0943fdf333c55bccb341b529d2ca24664694203b906e510ecab5 DIST rocm-rocBLAS-6.3.2.tar.gz 57909504 BLAKE2B 0ed000a10c9e71465f83fb9abdb9a745c82bf32552e3d86c61bf0c802f3728f7fd4c47fbf677d01aa35c457dc5281c916ca80fdc033b2752afd6733aefa4653f SHA512 ecfb6c68b0a44ddae0e4e6cf5c41c0c33a9685c590004ffe48fdb163bd059d534181d3faed2a23142078c5f621b1955c91725357c3e8e0f9307b139b19af46fd -EBUILD rocBLAS-5.1.3-r4.ebuild 3060 BLAKE2B fc5dba7b188129cc7c1c7fc07737d96ac86bc6aa2dc86779cceca028d31f0177592dba7698850a504451a253421511a445498a0df4654b12e60ab895b2efeadd SHA512 f6eba78811b8d581a7a4417a1ab637824012b5a30b5c76c6ec5a504d759691d432c53e15ede8ba5edc729a2a8863e86b819aa472589e146e8841c605ff138ba3 -EBUILD rocBLAS-5.4.2-r3.ebuild 2699 BLAKE2B a1b5134614e21bb3741530843d17d6016a1629ac9008908004b7743e2c9ff08509ba016db06a127a82679e3864d3e3cb12f1e2808e2edb2223c8993c10cc85d3 SHA512 9208a43e7ec94d9b2dcd61202695f3a78ec89d1062e64500f664a322c3b11e8fadb6e30ec5063012029b28ded5abc819dcd72b0d2b30781cca8b4d0d1897f880 EBUILD rocBLAS-5.7.1-r2.ebuild 2728 BLAKE2B e8256cd30876c89d9d84180e4621884d87c873e9680980369b6ec1a377fac3ba441bfbe5ebd160dbe5a7c13f868a15afd14328f663ff05afae136670a1a7ce97 SHA512 390911c868c8cb4bdec520bcf0d189922e528200c2b43946542034a3bd72141a47730ce67a5d755c4469100165194c8bcdfd81f9e6d6394ee7e51e0f84cac13f EBUILD rocBLAS-6.1.1-r1.ebuild 3032 BLAKE2B d0815d198208beaa77059ccadeca6c0e9331e52ec1292c1467fecf38ebf8356ddc7b5b8b2e84e1dfe541215cfc54f15b11d20877f56983ec06688edc5119e657 SHA512 91d95e5654369256a1691e204f54f9c71c2aec0a5f09d8fb1bf739d75af38a5ae7e55a6435524832996ed7eaa218709581fd73d6c9f176509ec7f2a488275e7a EBUILD rocBLAS-6.3.0.ebuild 3153 BLAKE2B 3660826d5d9482c37b2fecf25cf63b53c62f6ee77e088e7230a6d014adb9a1df05bd5052449226a13fdf4a8bc057d544a3937ba764616618def5dd771b9dd498 SHA512 1a1dbf60a04e708fc27311efa893175e1c42965920fd037ed1c5e461cd221291e841c2141e51ba6534adcb5955ee800015605717d26084c899ba322ea5b68514 diff --git a/sci-libs/rocBLAS/files/rocBLAS-4.3.0-fix-glibc-2.32-and-above.patch b/sci-libs/rocBLAS/files/rocBLAS-4.3.0-fix-glibc-2.32-and-above.patch deleted file mode 100644 index a4d9f0bab344..000000000000 --- a/sci-libs/rocBLAS/files/rocBLAS-4.3.0-fix-glibc-2.32-and-above.patch +++ /dev/null @@ -1,25 +0,0 @@ -https://sourceware.org/glibc/wiki/Release/2.32#Deprectation_sys_siglist.2C__sys_siglist.2C_sys_sigabbrev - ---- rocBLAS-rocm-4.1.0/clients/gtest/rocblas_test.cpp -+++ rocBLAS-rocm-4.1.0/clients/gtest/rocblas_test.cpp -@@ -173,7 +173,7 @@ void catch_signals_and_exceptions_as_fai - // Set up the return point, and handle siglongjmp returning back to here - if(sigsetjmp(t_handler.sigjmp_buf, true)) - { -- FAIL() << "Received " << sys_siglist[t_handler.signal] << " signal"; -+ FAIL() << "Received " << strsignal(t_handler.signal) << " signal"; - } - else - { - ---- rocBLAS-rocm-4.1.0/clients/include/utility.hpp -+++ rocBLAS-rocm-4.1.0/clients/include/utility.hpp -@@ -39,7 +39,7 @@ - // puts, putchar, fputs, printf, fprintf, vprintf, vfprintf: Use rocblas_cout or rocblas_cerr - // sprintf, vsprintf: Possible buffer overflows; us snprintf or vsnprintf instead - // strerror: Thread-unsafe; use snprintf / dprintf with %m or strerror_* alternatives --// strsignal: Thread-unsafe; use sys_siglist[signal] instead -+// strsignal: Thread-unsafe; use strsignal(signal) instead - // strtok: Thread-unsafe; use strtok_r - // gmtime, ctime, asctime, localtime: Thread-unsafe - // tmpnam: Thread-unsafe; use mkstemp or related functions instead diff --git a/sci-libs/rocBLAS/files/rocBLAS-5.0.2-change-default-Tensile-library-dir.patch b/sci-libs/rocBLAS/files/rocBLAS-5.0.2-change-default-Tensile-library-dir.patch deleted file mode 100644 index 618847b8fb8d..000000000000 --- a/sci-libs/rocBLAS/files/rocBLAS-5.0.2-change-default-Tensile-library-dir.patch +++ /dev/null @@ -1,47 +0,0 @@ -change the default rocm tensile library search path -Index: rocBLAS-rocm-5.0.1/library/src/tensile_host.cpp -=================================================================== ---- rocBLAS-rocm-5.0.1.orig/library/src/tensile_host.cpp -+++ rocBLAS-rocm-5.0.1/library/src/tensile_host.cpp -@@ -558,40 +558,8 @@ namespace - // Find the location of librocblas.dll/.so - // Fall back on hard-coded path if static library or not found - --#ifndef ROCBLAS_STATIC_LIB --#ifdef WIN32 -- // wchar_t wpath[MAX_PATH + 1] = {0}; -- // if(GetModuleFileNameW(GetModuleHandle("rocblas.dll"), wpath, MAX_PATH + 1)) -- // { -- // std::wstring wspath(wpath); -- // std::string tmp(wspath.begin(), wspath.end()); - -- std::vector dll_path(MAX_PATH + 1); -- if(GetModuleFileNameA( -- GetModuleHandleA("rocblas.dll"), dll_path.data(), MAX_PATH + 1)) -- { -- std::string tmp(dll_path.begin(), dll_path.end()); -- std::filesystem::path exepath = tmp; -- if(exepath.has_filename()) -- { -- path = exepath.remove_filename().string(); -- } -- } --#else -- dl_iterate_phdr(rocblas_dl_iterate_phdr_callback, NULL); -- if(rocblas_so_path.size()) -- path = std::string{dirname(&rocblas_so_path[0])}; --#endif --#endif // ifndef ROCBLAS_STATIC_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-5.0.2-cpp_lib_filesystem.patch b/sci-libs/rocBLAS/files/rocBLAS-5.0.2-cpp_lib_filesystem.patch deleted file mode 100644 index 500abbacfdc2..000000000000 --- a/sci-libs/rocBLAS/files/rocBLAS-5.0.2-cpp_lib_filesystem.patch +++ /dev/null @@ -1,50 +0,0 @@ ---- b/clients/common/utility.cpp 2022-01-26 03:31:42.000000000 +0800 -+++ a/clients/common/utility.cpp 2022-02-22 18:45:35.319732953 +0800 -@@ -23,6 +23,7 @@ - #include - #endif - -+#include - #ifdef __cpp_lib_filesystem - #include - #else ---- b/clients/include/rocblas_data.hpp 2022-01-26 03:31:42.000000000 +0800 -+++ a/clients/include/rocblas_data.hpp 2022-02-22 18:44:51.275733070 +0800 -@@ -17,6 +17,7 @@ - #include - #include - -+#include - #ifdef __cpp_lib_filesystem - #include - #else ---- b/clients/include/singletons.hpp 2022-01-26 03:31:42.000000000 +0800 -+++ a/clients/include/singletons.hpp 2022-02-22 18:47:55.139732583 +0800 -@@ -3,6 +3,6 @@ - * ************************************************************************ */ - - // global for device memory padding see d_vector.hpp -+#include -- - extern size_t g_DVEC_PAD; - void d_vector_set_pad_length(size_t pad); ---- b/clients/include/testing_logging.hpp 2022-01-26 03:31:42.000000000 +0800 -+++ a/clients/include/testing_logging.hpp 2022-02-22 18:44:13.115733171 +0800 -@@ -22,6 +22,7 @@ - #include - #endif - -+#include - #ifdef __cpp_lib_filesystem - #include - #else ---- b/clients/include/testing_ostream_threadsafety.hpp 2022-01-26 03:31:42.000000000 +0800 -+++ a/clients/include/testing_ostream_threadsafety.hpp 2022-02-22 18:45:19.055732996 +0800 -@@ -30,6 +30,7 @@ - #include - #endif - -+#include - #ifdef __cpp_lib_filesystem - #include - #else diff --git a/sci-libs/rocBLAS/files/rocBLAS-5.0.2-unbundle-Tensile.patch b/sci-libs/rocBLAS/files/rocBLAS-5.0.2-unbundle-Tensile.patch deleted file mode 100644 index 75f673f63d47..000000000000 --- a/sci-libs/rocBLAS/files/rocBLAS-5.0.2-unbundle-Tensile.patch +++ /dev/null @@ -1,25 +0,0 @@ -Index: rocBLAS-rocm-5.0.2/CMakeLists.txt -=================================================================== ---- rocBLAS-rocm-5.0.2.orig/CMakeLists.txt -+++ rocBLAS-rocm-5.0.2/CMakeLists.txt -@@ -271,20 +271,6 @@ if(NOT SKIP_LIBRARY) - set( Tensile_ROOT "${CMAKE_BINARY_DIR}/virtualenv/Lib/site-packages/Tensile" ) - endif() - -- include(virtualenv) -- if (Tensile_TEST_LOCAL_PATH) -- virtualenv_install(${Tensile_TEST_LOCAL_PATH}) -- message (STATUS "using local Tensile from ${Tensile_TEST_LOCAL_PATH}, copied to ${Tensile_ROOT}") -- else() -- # Use the virtual-env setup and download package from specified repot: -- set( tensile_fork "ROCmSoftwarePlatform" CACHE STRING "Tensile fork to use" ) -- file (STRINGS "tensile_tag.txt" read_tensile_tag) -- set( tensile_tag ${read_tensile_tag} CACHE STRING "Tensile tag to download" ) -- virtualenv_install("git+https://github.com/${tensile_fork}/Tensile.git@${tensile_tag}") -- message (STATUS "using GIT Tensile fork=${tensile_fork} from branch=${tensile_tag}") -- endif() -- message(STATUS "Adding ${VIRTUALENV_HOME_DIR} to CMAKE_PREFIX_PATH") -- list(APPEND CMAKE_PREFIX_PATH ${VIRTUALENV_HOME_DIR}) - if (TENSILE_VERSION) - find_package(Tensile ${TENSILE_VERSION} EXACT REQUIRED HIP LLVM OpenMP PATHS "${INSTALLED_TENSILE_PATH}") - else() diff --git a/sci-libs/rocBLAS/files/rocBLAS-5.4.2-unbundle-Tensile.patch b/sci-libs/rocBLAS/files/rocBLAS-5.4.2-unbundle-Tensile.patch deleted file mode 100644 index 114c10502e68..000000000000 --- a/sci-libs/rocBLAS/files/rocBLAS-5.4.2-unbundle-Tensile.patch +++ /dev/null @@ -1,26 +0,0 @@ -Index: rocBLAS-rocm-5.4.2/CMakeLists.txt -=================================================================== ---- rocBLAS-rocm-5.4.2.orig/CMakeLists.txt -+++ rocBLAS-rocm-5.4.2/CMakeLists.txt -@@ -138,21 +138,6 @@ if(NOT SKIP_LIBRARY) - - set( Tensile_TEST_LOCAL_PATH "" CACHE PATH "Use local Tensile directory instead of fetching a GitHub branch" ) - -- include(virtualenv) -- -- if (Tensile_TEST_LOCAL_PATH) -- virtualenv_install(${Tensile_TEST_LOCAL_PATH}) -- message (STATUS "using local Tensile from ${Tensile_TEST_LOCAL_PATH}, copied to ${Tensile_ROOT}") -- else() -- # Use the virtual-env setup and download package from specified repot: -- set( tensile_fork "ROCmSoftwarePlatform" CACHE STRING "Tensile fork to use" ) -- file (STRINGS "tensile_tag.txt" read_tensile_tag) -- set( tensile_tag ${read_tensile_tag} CACHE STRING "Tensile tag to download" ) -- virtualenv_install("git+https://github.com/${tensile_fork}/Tensile.git@${tensile_tag}") -- message (STATUS "using GIT Tensile fork=${tensile_fork} from branch=${tensile_tag}") -- endif() -- message(STATUS "Adding ${VIRTUALENV_HOME_DIR} to CMAKE_PREFIX_PATH") -- list(APPEND CMAKE_PREFIX_PATH ${VIRTUALENV_HOME_DIR}) - if (TENSILE_VERSION) - find_package(Tensile ${TENSILE_VERSION} EXACT REQUIRED HIP LLVM OpenMP PATHS "${INSTALLED_TENSILE_PATH}") - else() diff --git a/sci-libs/rocBLAS/rocBLAS-5.1.3-r4.ebuild b/sci-libs/rocBLAS/rocBLAS-5.1.3-r4.ebuild deleted file mode 100644 index a77c621f57ce..000000000000 --- a/sci-libs/rocBLAS/rocBLAS-5.1.3-r4.ebuild +++ /dev/null @@ -1,114 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DOCS_BUILDER="doxygen" -DOCS_DIR="docs" -DOCS_DEPEND="media-gfx/graphviz" -ROCM_VERSION=${PV} -inherit cmake docs edo multiprocessing prefix rocm - -DESCRIPTION="AMD's library for BLAS on ROCm" -HOMEPAGE="https://github.com/ROCmSoftwarePlatform/rocBLAS" -SRC_URI="https://github.com/ROCmSoftwarePlatform/rocBLAS/archive/rocm-${PV}.tar.gz -> rocm-${P}.tar.gz - https://media.githubusercontent.com/media/littlewu2508/littlewu2508.github.io/main/gentoo-distfiles/${PN}-5.0.2-Tensile-asm_full-navi22.tar.gz" -S="${WORKDIR}/${PN}-rocm-${PV}" - -LICENSE="BSD" -KEYWORDS="~amd64" -SLOT="0/$(ver_cut 1-2)" -IUSE="benchmark test" -REQUIRED_USE="${ROCM_REQUIRED_USE}" -RESTRICT="!test? ( test )" - -BDEPEND=" - dev-build/rocm-cmake - dev-util/Tensile:${SLOT} -" - -DEPEND=" - >=dev-cpp/msgpack-cxx-6.0.0 - dev-util/hip - test? ( - virtual/blas - dev-cpp/gtest - llvm-runtimes/openmp - ) - benchmark? ( - virtual/blas - llvm-runtimes/openmp - ) -" - -PATCHES=( - "${FILESDIR}"/${PN}-4.3.0-fix-glibc-2.32-and-above.patch - "${FILESDIR}"/${PN}-5.0.2-change-default-Tensile-library-dir.patch - "${FILESDIR}"/${PN}-5.0.2-cpp_lib_filesystem.patch - "${FILESDIR}"/${PN}-5.0.2-unbundle-Tensile.patch - ) - -src_prepare() { - cmake_src_prepare - cp -a "${WORKDIR}/asm_full/" library/src/blas3/Tensile/Logic/ || die - # Fit for Gentoo FHS rule - sed -e "/PREFIX rocblas/d" \ - -e "/ -+#include - #include - #include - #include diff --git a/sci-libs/rocFFT/files/rocFFT-5.0.2-add-math-header.patch b/sci-libs/rocFFT/files/rocFFT-5.0.2-add-math-header.patch deleted file mode 100644 index 1a35126f1d8c..000000000000 --- a/sci-libs/rocFFT/files/rocFFT-5.0.2-add-math-header.patch +++ /dev/null @@ -1,12 +0,0 @@ -fix compilation issue: error: use of undeclared identifier 'ceil' 'floor' -=================================================================== ---- rocFFT-rocm-5.0.2.orig/library/src/device/generator/stockham_gen_base.h -+++ rocFFT-rocm-5.0.2/library/src/device/generator/stockham_gen_base.h -@@ -20,6 +20,7 @@ - - #pragma once - #include "stockham_gen.h" -+#include - - // Base class for stockham kernels. Subclasses are responsible for - // different tiling types. diff --git a/sci-libs/rocFFT/files/rocFFT-5.1.3-add-stdexcept-header.patch b/sci-libs/rocFFT/files/rocFFT-5.1.3-add-stdexcept-header.patch deleted file mode 100644 index edfd89ea4b70..000000000000 --- a/sci-libs/rocFFT/files/rocFFT-5.1.3-add-stdexcept-header.patch +++ /dev/null @@ -1,11 +0,0 @@ -Contributed-by: perestoronin https://bugs.gentoo.org/693200#c25 ---- a/library/src/include/twiddles.h -+++ b/library/src/include/twiddles.h -@@ -14,6 +14,7 @@ - #include - #include - #include -+#include - - static const size_t LTWD_BASE_DEFAULT = 8; - static const size_t LARGE_TWIDDLE_THRESHOLD = 4096; diff --git a/sci-libs/rocFFT/files/rocFFT-5.1.3-unbundle-sqlite.patch b/sci-libs/rocFFT/files/rocFFT-5.1.3-unbundle-sqlite.patch deleted file mode 100644 index b18b55eb8048..000000000000 --- a/sci-libs/rocFFT/files/rocFFT-5.1.3-unbundle-sqlite.patch +++ /dev/null @@ -1,67 +0,0 @@ -Disable rocFFT fetching SQLite3 and link to system libsqlite.so -Index: rocFFT-rocm-5.1.3/library/src/CMakeLists.txt -=================================================================== ---- rocFFT-rocm-5.1.3.orig/library/src/CMakeLists.txt -+++ rocFFT-rocm-5.1.3/library/src/CMakeLists.txt -@@ -134,49 +134,22 @@ set( rocfft_source - rtcsubprocess.cpp - ) - --# SQLite 3.36.0 enabled the backup API by default, which we need --# for cache serialization. We also want to use a static SQLite, --# and distro static libraries aren't typically built --# position-independent. --include( FetchContent ) -- --set(SQLITE_SRC_URL https://sqlite.org/2021/sqlite-amalgamation-3360000.zip CACHE STRING "Location of SQLite source code") --set(SQLITE_SRC_SHA256 999826fe4c871f18919fdb8ed7ec9dd8217180854dd1fe21eea96aed36186729 CACHE STRING "SHA256 hash of SQLite source code") -- --# embed SQLite --FetchContent_Declare(sqlite_local -- URL ${SQLITE_SRC_URL} -- URL_HASH SHA256=${SQLITE_SRC_SHA256} --) --FetchContent_MakeAvailable(sqlite_local) --add_library( sqlite3 OBJECT ${sqlite_local_SOURCE_DIR}/sqlite3.c ) --set_target_properties( sqlite3 PROPERTIES -- C_VISIBILITY_PRESET "hidden" -- VISIBILITY_INLINES_HIDDEN ON -- POSITION_INDEPENDENT_CODE ON -- ) -- --# we don't need extensions, and omitting them from SQLite removes the --# need for dlopen/dlclose from within rocFFT --target_compile_options( -- sqlite3 -- PRIVATE -DSQLITE_OMIT_LOAD_EXTENSION --) -- - set_property( - SOURCE rtc.cpp - PROPERTY OBJECT_DEPENDS ${kgen_embed_h} - ) - -+find_package( SQLite3 REQUIRED ) -+ - prepend_path( ".." rocfft_headers_public relative_rocfft_headers_public ) - - add_library( rocfft - ${rocfft_source} - ${relative_rocfft_headers_public} -- $ - ) - add_library( roc::rocfft ALIAS rocfft ) - -+target_link_libraries( rocfft PRIVATE ${SQLite3_LIBRARIES} ) - if( NOT WIN32 ) - target_link_libraries( rocfft PRIVATE -lstdc++fs ) - endif() -@@ -209,7 +182,7 @@ endif() - target_include_directories( rocfft - PRIVATE $ - $ -- ${sqlite_local_SOURCE_DIR} -+ ${SQLite3_LIBRARIES} - PUBLIC $ - $ - $ diff --git a/sci-libs/rocFFT/rocFFT-5.1.3-r1.ebuild b/sci-libs/rocFFT/rocFFT-5.1.3-r1.ebuild deleted file mode 100644 index 7b75953d510f..000000000000 --- a/sci-libs/rocFFT/rocFFT-5.1.3-r1.ebuild +++ /dev/null @@ -1,145 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..11} ) -ROCM_VERSION=${PV} - -inherit cmake check-reqs edo multiprocessing python-r1 rocm - -DESCRIPTION="Next generation FFT implementation for ROCm" -HOMEPAGE="https://github.com/ROCmSoftwarePlatform/rocFFT" -SRC_URI="https://github.com/ROCmSoftwarePlatform/rocFFT/archive/rocm-${PV}.tar.gz -> rocFFT-${PV}.tar.gz" - -LICENSE="MIT" -KEYWORDS="~amd64" -SLOT="0/$(ver_cut 1-2)" - -# RDEPEND: perfscripts? dev-python/plotly[${PYTHON_USEDEP}] # currently masked by arch/amd64/x32/package.mask -RDEPEND=" -perfscripts? ( - >=media-gfx/asymptote-2.61 - dev-texlive/texlive-latex - dev-tex/latexmk - sys-apps/texinfo - dev-python/sympy[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - dev-python/pandas[${PYTHON_USEDEP}] ) -${PYTHON_DEPS}" - -DEPEND="dev-util/hip - ${PYTHON_DEPS}" - -BDEPEND=" - test? ( dev-cpp/gtest dev-libs/boost - >=sci-libs/fftw-3 llvm-runtimes/openmp ) - >=dev-build/cmake-3.22 - dev-build/rocm-cmake -" - -CHECKREQS_DISK_BUILD="7G" - -IUSE="benchmark perfscripts test" -REQUIRED_USE="perfscripts? ( benchmark ) ${PYTHON_REQUIRED_USE} ${ROCM_REQUIRED_USE}" - -RESTRICT="!test? ( test )" - -S="${WORKDIR}/rocFFT-rocm-${PV}" - -PATCHES=( - "${FILESDIR}/${PN}-4.2.0-add-functional-header.patch" - "${FILESDIR}/${PN}-5.1.3-unbundle-sqlite.patch" - "${FILESDIR}/${PN}-5.0.2-add-math-header.patch" - "${FILESDIR}/${PN}-5.1.3-add-stdexcept-header.patch" ) - -required_mem() { - if use test; then - echo "52G" - else - if [[ -n "${AMDGPU_TARGETS}" ]]; then - local NARCH=$(($(awk -F";" '{print NF-1}' <<< "${AMDGPU_TARGETS}" || die)+1)) # count how many archs user specified in ${AMDGPU_TARGETS} - else - local NARCH=7 # The default number of AMDGPU_TARGETS for rocFFT-4.3.0. May change in the future. - fi - echo "$(($(makeopts_jobs)*${NARCH}*25+2200))M" # A linear function estimating how much memory required - fi -} - -pkg_pretend() { - return # leave the disk space check to pkg_setup phase -} - -pkg_setup() { - export CHECKREQS_MEMORY=$(required_mem) - check-reqs_pkg_setup - python_setup -} - -src_prepare() { - sed -e "s/PREFIX rocfft//" \ - -e "/rocm_install_symlink_subdir/d" \ - -e "/ -Date: Mon Jan 24 13:49:52 2022 -0700 - - Revert symlinks - -diff --git a/library/CMakeLists.txt b/library/CMakeLists.txt -index 17a8c4c..89322d8 100644 ---- a/library/CMakeLists.txt -+++ b/library/CMakeLists.txt -@@ -60,27 +60,6 @@ rocm_install( - "${CMAKE_BINARY_DIR}/library/include" - ) - --# Create symlinks --if(WIN32) -- set(SYMLINK_COMMAND "file(COPY \${SRC} DESTINATION \${DEST_DIR})" ) --else() -- set(SYMLINK_COMMAND "execute_process(COMMAND ln -sf \${SRC_REL} \${DEST})" ) --endif() --set(INSTALL_SYMLINK_COMMAND " -- set(SRC_DIR \$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/include/rocrand) -- file(GLOB_RECURSE FILES RELATIVE \${SRC_DIR} \${SRC_DIR}/*) -- foreach(FILE \${FILES}) -- set(SRC \${SRC_DIR}/\${FILE}) -- set(DEST \$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/rocrand/include/\${FILE}) -- get_filename_component(DEST_DIR \${DEST} DIRECTORY) -- file(MAKE_DIRECTORY \${DEST_DIR}) -- file(RELATIVE_PATH SRC_REL \${DEST_DIR} \${SRC}) -- message(STATUS \"symlink: \${SRC_REL} -> \${DEST}\") -- ${SYMLINK_COMMAND} -- endforeach() --") --rocm_install(CODE "${INSTALL_SYMLINK_COMMAND}") -- - set(FORTRAN_SRCS_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/rocrand/src/fortran") - configure_file( - src/rocrand-fortran-config.cmake.in diff --git a/sci-libs/rocRAND/files/rocRAND-5.1.3_stdint-gcc13.patch b/sci-libs/rocRAND/files/rocRAND-5.1.3_stdint-gcc13.patch deleted file mode 100644 index e80155f24da7..000000000000 --- a/sci-libs/rocRAND/files/rocRAND-5.1.3_stdint-gcc13.patch +++ /dev/null @@ -1,33 +0,0 @@ -commit d79e778080766cf359d6658367e1c7ce0668daa4 -Author: Benda Xu -Date: Sat Jul 29 23:03:22 2023 +0800 - - sobol*_direction_vector_generator.cpp: include stdint.h for uint*_t - - Reference: https://gcc.gnu.org/gcc-13/porting_to.html - Signed-off-by: Benda Xu - -diff --git a/tools/sobol32_direction_vector_generator.cpp b/tools/sobol32_direction_vector_generator.cpp -index 16c4354..eb316c7 100644 ---- a/tools/sobol32_direction_vector_generator.cpp -+++ b/tools/sobol32_direction_vector_generator.cpp -@@ -20,6 +20,7 @@ - - #include - #include -+#include - #include - #include - -diff --git a/tools/sobol64_direction_vector_generator.cpp b/tools/sobol64_direction_vector_generator.cpp -index e520903..ecdbdc4 100644 ---- a/tools/sobol64_direction_vector_generator.cpp -+++ b/tools/sobol64_direction_vector_generator.cpp -@@ -20,6 +20,7 @@ - - #include - #include -+#include - #include - #include - diff --git a/sci-libs/rocRAND/rocRAND-5.1.3.ebuild b/sci-libs/rocRAND/rocRAND-5.1.3.ebuild deleted file mode 100644 index bb518842e253..000000000000 --- a/sci-libs/rocRAND/rocRAND-5.1.3.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake rocm - -DESCRIPTION="Generate pseudo-random and quasi-random numbers" -HOMEPAGE="https://github.com/ROCmSoftwarePlatform/rocRAND" -HIPRAND_COMMIT_HASH=de941a7eb9ede2a862d719cd3ca23234a3692d07 -SRC_URI="https://github.com/ROCmSoftwarePlatform/${PN}/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz -https://github.com/ROCmSoftwarePlatform/hipRAND/archive/${HIPRAND_COMMIT_HASH}.tar.gz -> hipRAND-${HIPRAND_COMMIT_HASH}.tar.gz" - -LICENSE="MIT" -KEYWORDS="~amd64" -SLOT="0/$(ver_cut 1-2)" -IUSE="benchmark test" -REQUIRED_USE="${ROCM_REQUIRED_USE}" -RESTRICT="!test? ( test )" - -PATCHES=( "${FILESDIR}"/${PN}-5.1.3_stdint-gcc13.patch - "${FILESDIR}"/${PN}-5.1.3_no-symlink.patch ) - -RDEPEND="dev-util/hip" -DEPEND="${RDEPEND} -dev-build/rocm-cmake -test? ( dev-cpp/gtest )" -BDEPEND="dev-build/rocm-cmake ->=dev-build/cmake-3.22" - -S="${WORKDIR}/rocRAND-rocm-${PV}" - -src_prepare() { - rmdir hipRAND || die - mv -v ../hipRAND-${HIPRAND_COMMIT_HASH} hipRAND || die - # change installed include and lib dir, and avoid symlink overwrite the installed headers - # avoid setting RPATH - sed -r -e "s:(hip|roc)rand/lib:\${CMAKE_INSTALL_LIBDIR}:" \ - -e "/INSTALL_RPATH/d" -i library/CMakeLists.txt || die - - # remove GIT dependency - sed -e "/find_package(Git/,+4d" -i cmake/Dependencies.cmake || die - - eapply_user - cmake_src_prepare -} - -src_configure() { - addpredict /dev/kfd - addpredict /dev/dri/ - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=On - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_HIPRAND=ON - -DROCM_SYMLINK_LIBS=OFF - -DBUILD_TEST=$(usex test ON OFF) - -DBUILD_BENCHMARK=$(usex benchmark ON OFF) - ) - - CXX=hipcc cmake_src_configure -} - -src_test() { - check_amdgpu - export LD_LIBRARY_PATH="${BUILD_DIR}/library" - MAKEOPTS="-j1" cmake_src_test -} - -src_install() { - cmake_src_install - - if use benchmark; then - cd "${BUILD_DIR}"/benchmark - dobin benchmark_rocrand_* - fi -} diff --git a/sci-libs/rocRAND/rocRAND-5.6.0-r1.ebuild b/sci-libs/rocRAND/rocRAND-5.6.0-r1.ebuild deleted file mode 100644 index cadf2c863445..000000000000 --- a/sci-libs/rocRAND/rocRAND-5.6.0-r1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake rocm - -DESCRIPTION="Generate pseudo-random and quasi-random numbers" -HOMEPAGE="https://github.com/ROCmSoftwarePlatform/rocRAND" -SRC_URI="https://github.com/ROCmSoftwarePlatform/${PN}/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -KEYWORDS="~amd64" -SLOT="0/$(ver_cut 1-2)" -IUSE="benchmark test" -REQUIRED_USE="${ROCM_REQUIRED_USE}" -RESTRICT="!test? ( test )" - -PATCHES=( "${FILESDIR}"/${PN}-5.4.2_stdint-gcc13.patch ) - -RDEPEND="dev-util/hip" -DEPEND="${RDEPEND} - dev-build/rocm-cmake - benchmark? ( dev-cpp/benchmark ) - test? ( dev-cpp/gtest )" -BDEPEND="dev-build/rocm-cmake - >=dev-build/cmake-3.22" - -S="${WORKDIR}/rocRAND-rocm-${PV}" - -src_configure() { - addpredict /dev/kfd - addpredict /dev/dri/ - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=On - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -DBUILD_HIPRAND=OFF - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - -DROCM_SYMLINK_LIBS=OFF - -DBUILD_TEST=$(usex test ON OFF) - -DBUILD_BENCHMARK=$(usex benchmark ON OFF) - ) - - CXX=hipcc cmake_src_configure -} - -src_test() { - check_amdgpu - export LD_LIBRARY_PATH="${BUILD_DIR}/library" - MAKEOPTS="-j1" cmake_src_test -} - -src_install() { - cmake_src_install - - if use benchmark; then - cd "${BUILD_DIR}"/benchmark - dobin benchmark_rocrand_* - fi -} diff --git a/sci-libs/rocSOLVER/Manifest b/sci-libs/rocSOLVER/Manifest index 33424f250060..19583ba614f4 100644 --- a/sci-libs/rocSOLVER/Manifest +++ b/sci-libs/rocSOLVER/Manifest @@ -1,14 +1,7 @@ -AUX rocSOLVER-4.2.0-add-stdint-header.patch 475 BLAKE2B 268a1813d4e26dbaaa2360d0a187ce2a1448da075ae5f98a4a829c979411ab7e0c06f150ddcb445c9b295268a1e9f1770adbe7e68a1c3f84edde3c3477a57610 SHA512 ede56f9579e655ddd098ca9006612537f8ed61dc585274afe6b2b0bdee875431b62e0c6da6bc01e2cabeeb5244a91bb1e00b442bb549c075a286eefd8d9edc09 -AUX rocSOLVER-5.0.2-libfmt8.patch 7493 BLAKE2B 0327f78dd94f0102a5c4aabf13cab2ec6adaec3efee82acdb24d223b56a58bece34b505b9fdb2964ffa6f3f574730c2e74110e12e198fe26bc682ea294038749 SHA512 124dd445e188475777e3dee017f7380675594717b1e58458397780dc5c32ee8221935234954554510bd169af10a3bdb4fef0674bf93030081c5c12c1f3061a13 -AUX rocSOLVER-5.4.2-libfmt9.patch 1478 BLAKE2B a5f3774483c38bb059873509d326d46a5ec4b476578a76045e44d4826c4f2401edd5b2e0c0d9c20d906ba4efaf539bf1aad42183b1eafcaf28aa60a16f76efc1 SHA512 061286d3f328958c7d5ffc8a54322c5e2cb9d08b71f51ac4e76bcc06804624ac8181bba6c328da58e5f6c4410fbe778db43633bbfcac1afe2f5c49d9d238fac7 -DIST rocSOLVER-5.1.3.tar.gz 545627 BLAKE2B 2cca24a1310efba7f8c66d1614fb50704221ebc8aa50d6aba11083baf9a7427575642fd28218ce80f8a7b83d3406348c2dd18373fb32e533509d01d37cf06927 SHA512 38e7a4ed6b67e83960ad3416d1008f82f895d19dc85427cd6f9c76f00b1ce18f78a4dd73d1ab53ffe81588890cd5545315029e903e2e09b85d6cfb854d405753 -DIST rocSOLVER-5.4.2.tar.gz 674866 BLAKE2B 0628353d567da92e3f7c3a11e19859329f3ea916184d554ee9c7172084ee4698c93408f397f493331d4dc47d833c56ead41bb4445081ba9ac73809ca0478770c SHA512 b3a60c65a18c3864568e1e0b1524850eb1b322f6005cf8a2763c9b457e43e03c8ce74be1d13f3cc3adef1f6ac979f54fb903831f4a60447a9a915a40dcbe5ff6 DIST rocSOLVER-5.7.1.tar.gz 1859403 BLAKE2B f7a40494deda9dd66f2fb2f57e13665688e89e1f82733701ec60a520bc4b9f7d5899ada618a37e73baa3a910757be4f11d5fced5d4d2ad82c56918b34d265511 SHA512 78e0a2b5b069378696afebf5e3e023449b3d7705aa79099eb7721c142d7525255825b41bf413324c33178091315e3909980a1bf0cbb66e0891c85e757858ee1c DIST rocSOLVER-6.1.1.tar.gz 2971118 BLAKE2B 2611b6b65704e7cd64df682728013f07d20c6e17e6729cec7befb91dbed57aabaaed2887a252d4ae610fe0bcb336dfcd4b98d63c107694c22e35be06d06363db SHA512 a96901226cbe5b410fa2885023a080b5ca7dc4659be92b363c37e10eba97d3da09d97488ecdc040452a535ad3284017c64b3b68646f258655583302baa009f34 DIST rocSOLVER-6.3.0.tar.gz 3077185 BLAKE2B 2ac2260aa631756d32a92b9386bda16a46a1b16922072d6962497b2f009c237a0386cc0006ffdd56e6396322fc2408d49fc18e2ccd7120492a2270fce3eba3d9 SHA512 a2655cce8c2eb287893988e8b69e77e2dbcad0f627fac74916be2789cd3357cf29f3e3090a9c88a86ef9a0e80dd0aa949ddfb145a6a0d1c128eac0a8fe708d94 DIST rocSOLVER-6.3.2.tar.gz 3077213 BLAKE2B ab05f0388f4845e7cbd6279aaa7c6a0774b99153ca0739837186792a8e5c271498d5c18a3305602d979aad65e5bc399305e0c6447bce118694ebbdcb1f26b5a3 SHA512 7a9b705783dde897a8b343e832a7775d131cc0c5caca14ee9abe4349aeff896bb1b073ea077ed1bcced6a358e4b61d9a0155c499c73fccba1d50b0ebc535dd6c -EBUILD rocSOLVER-5.1.3-r1.ebuild 1939 BLAKE2B 5106e36577bdfbbba5039de1007a9d96587354bb634f2ae4cec76c644144ab6b5527082ba96a0039c42c2e0984c1abf99cc30c6d8bb3a3867c45348245ced66f SHA512 8d6abd695f2596fef6f6c2fb66e168ba5b087b71360ffebfd4a0aaa3796d21b9e9deb215e4368ca36a42ede7ac91415ed6641e20e4ac1d40fa420bbdf1cf44b9 -EBUILD rocSOLVER-5.4.2.ebuild 1537 BLAKE2B 8881bd0881366f2315011b8fca3562bf85f2fbed0c5522b47b18794366e6d26bf800da60a5f1d73f74b0f4397b6407cea042e6ed9e10595017e51441fe221ea6 SHA512 b9d212bc359301a901750ce682f4658a9ba927950800f5e4692f26991ee1aee86d0465e9a7af5eeef61750fe5799a7e4e636dffd097a8a604208ef8764e961b9 EBUILD rocSOLVER-5.7.1.ebuild 1536 BLAKE2B c85b59fc74642843d586c33e81b6d0e3504e8b53d639072eb65a46112ca56fb229fa6a312b5b2f7e3d8061e89716530b38a4f497ed1c0a512117312c81cafc67 SHA512 36f9bcff6650fe09fbe4227904d1b05259208fed1935f4b8a29e297102e81d77ded767c3392a78b126790ea56413fc56e6828774881bc4313a2714c2a0b9ef2c EBUILD rocSOLVER-6.1.1.ebuild 1439 BLAKE2B 637f2a432d41dc71231021e419c46303f0882820d268b68b03dacb386b0bb58d7deecba8d8fa2a2b6be80f7040df244ccea90da5546f69f84d348367d7f18e5a SHA512 704a0ba8930b519afd224f6f7713d6ee743ea6d40f9c3bc7a53ffe449b2e9a6fb1ad4c1407891ea2129d43ebbc04308db235e6cc3ff558f9456068499a13fa05 EBUILD rocSOLVER-6.3.0.ebuild 1678 BLAKE2B 64cc0c35bcbfae7cab035747071d83a69fd1f58c9dbd097df1f5326ef8d383912128d903bfcf62e0dea773cb8f0773082848ac290ffc25b0a9daf269fe85c63d SHA512 25b7e8b4ce820b18ee53c45228560022adb2c7991a43678d955ff35d81719071f080c232e5d37979c2e5393bf86461112f9aad6470823f2c4c90da138addb1d0 diff --git a/sci-libs/rocSOLVER/files/rocSOLVER-4.2.0-add-stdint-header.patch b/sci-libs/rocSOLVER/files/rocSOLVER-4.2.0-add-stdint-header.patch deleted file mode 100644 index 4afff8f467ea..000000000000 --- a/sci-libs/rocSOLVER/files/rocSOLVER-4.2.0-add-stdint-header.patch +++ /dev/null @@ -1,12 +0,0 @@ -fix compilation error rocsolver-extra-types.h:11:9: error: unknown type name 'uint32_t' ---- a/library/include/rocsolver-extra-types.h -+++ b/library/include/rocsolver-extra-types.h -@@ -5,6 +5,8 @@ - #ifndef ROCSOLVER_EXTRAS_H_ - #define ROCSOLVER_EXTRAS_H_ - -+#include "stdint.h" -+ - /*! \brief Used to specify the logging layer mode using a bitwise combination - *of rocblas_layer_mode values. - ********************************************************************************/ diff --git a/sci-libs/rocSOLVER/files/rocSOLVER-5.0.2-libfmt8.patch b/sci-libs/rocSOLVER/files/rocSOLVER-5.0.2-libfmt8.patch deleted file mode 100644 index 3f2c0553689b..000000000000 --- a/sci-libs/rocSOLVER/files/rocSOLVER-5.0.2-libfmt8.patch +++ /dev/null @@ -1,173 +0,0 @@ -Backported from upstream to fix dev-cpp/libfmt-8 compatibility - -remove changes of CHANGELOG.md from original git commit - -From 2bbfb8976f6e4d667499c77e41a6433850063e88 Mon Sep 17 00:00:00 2001 -From: Cory Bloor -Date: Tue, 8 Feb 2022 23:53:57 -0700 -Subject: [PATCH] Fix compatibility with fmt v8.1 (#371) - -* Make rocsolver_logvalue fmt specializations const - -This allows for compile-time format string processing in fmt v8.0. - -* Fix compatibility with fmt v7.1 - -* Update CHANGELOG.md ---- - CHANGELOG.md | 2 ++ - library/src/include/rocsolver_logvalue.hpp | 38 +++++++++++++--------- - 2 files changed, 25 insertions(+), 15 deletions(-) - -diff --git a/library/src/include/rocsolver_logvalue.hpp b/library/src/include/rocsolver_logvalue.hpp -index 199f8d57d..9b3791031 100644 ---- a/library/src/include/rocsolver_logvalue.hpp -+++ b/library/src/include/rocsolver_logvalue.hpp -@@ -1,5 +1,5 @@ - /* ************************************************************************ -- * Copyright (c) 2021 Advanced Micro Devices, Inc. -+ * Copyright (c) 2021-2022 Advanced Micro Devices, Inc. - * ************************************************************************ */ - - #pragma once -@@ -8,6 +8,14 @@ - - #include "rocsolver_datatype2string.hpp" - -+/* The format function for user-defined types cannot be const before fmt v8.0 -+ but must be const in fmt v8.1 if the type is used in a tuple. */ -+#if FMT_VERSION < 80000 -+#define ROCSOLVER_FMT_CONST -+#else -+#define ROCSOLVER_FMT_CONST const -+#endif -+ - /*************************************************************************** - * Wrapper for types passed to logger, so we can more easily adjust the - * default way of printing built-in types without doing it globally. (e.g. -@@ -37,7 +45,7 @@ template - struct formatter> : formatter - { - template -- auto format(rocsolver_logvalue wrapper, FormatCtx& ctx) -+ auto format(rocsolver_logvalue wrapper, FormatCtx& ctx) ROCSOLVER_FMT_CONST - { - return formatter::format(wrapper.value, ctx); - } -@@ -49,7 +57,7 @@ template <> - struct formatter> : formatter - { - template -- auto format(rocsolver_logvalue wrapper, FormatCtx& ctx) -+ auto format(rocsolver_logvalue wrapper, FormatCtx& ctx) ROCSOLVER_FMT_CONST - { - return formatter::format(wrapper.value ? '1' : '0', ctx); - } -@@ -58,7 +66,7 @@ template <> - struct formatter> : formatter - { - template -- auto format(rocsolver_logvalue wrapper, FormatCtx& ctx) -+ auto format(rocsolver_logvalue wrapper, FormatCtx& ctx) ROCSOLVER_FMT_CONST - { - return formatter::format(rocblas2char_operation(wrapper.value), ctx); - } -@@ -67,7 +75,7 @@ template <> - struct formatter> : formatter - { - template -- auto format(rocsolver_logvalue wrapper, FormatCtx& ctx) -+ auto format(rocsolver_logvalue wrapper, FormatCtx& ctx) ROCSOLVER_FMT_CONST - { - return formatter::format(rocblas2char_fill(wrapper.value), ctx); - } -@@ -76,7 +84,7 @@ template <> - struct formatter> : formatter - { - template -- auto format(rocsolver_logvalue wrapper, FormatCtx& ctx) -+ auto format(rocsolver_logvalue wrapper, FormatCtx& ctx) ROCSOLVER_FMT_CONST - { - return formatter::format(rocblas2char_diagonal(wrapper.value), ctx); - } -@@ -85,7 +93,7 @@ template <> - struct formatter> : formatter - { - template -- auto format(rocsolver_logvalue wrapper, FormatCtx& ctx) -+ auto format(rocsolver_logvalue wrapper, FormatCtx& ctx) ROCSOLVER_FMT_CONST - { - return formatter::format(rocblas2char_side(wrapper.value), ctx); - } -@@ -94,7 +102,7 @@ template <> - struct formatter> : formatter - { - template -- auto format(rocsolver_logvalue wrapper, FormatCtx& ctx) -+ auto format(rocsolver_logvalue wrapper, FormatCtx& ctx) ROCSOLVER_FMT_CONST - { - return formatter::format(rocblas2char_direct(wrapper.value), ctx); - } -@@ -104,7 +112,7 @@ template <> - struct formatter> : formatter - { - template -- auto format(rocsolver_logvalue wrapper, FormatCtx& ctx) -+ auto format(rocsolver_logvalue wrapper, FormatCtx& ctx) ROCSOLVER_FMT_CONST - { - return formatter::format(rocblas2char_storev(wrapper.value), ctx); - } -@@ -113,7 +121,7 @@ template <> - struct formatter> : formatter - { - template -- auto format(rocsolver_logvalue wrapper, FormatCtx& ctx) -+ auto format(rocsolver_logvalue wrapper, FormatCtx& ctx) ROCSOLVER_FMT_CONST - { - return formatter::format(rocblas2char_workmode(wrapper.value), ctx); - } -@@ -122,7 +130,7 @@ template <> - struct formatter> : formatter - { - template -- auto format(rocsolver_logvalue wrapper, FormatCtx& ctx) -+ auto format(rocsolver_logvalue wrapper, FormatCtx& ctx) ROCSOLVER_FMT_CONST - { - return formatter::format(rocblas2char_svect(wrapper.value), ctx); - } -@@ -131,7 +139,7 @@ template <> - struct formatter> : formatter - { - template -- auto format(rocsolver_logvalue wrapper, FormatCtx& ctx) -+ auto format(rocsolver_logvalue wrapper, FormatCtx& ctx) ROCSOLVER_FMT_CONST - { - return formatter::format(rocblas2char_evect(wrapper.value), ctx); - } -@@ -140,7 +148,7 @@ template <> - struct formatter> : formatter - { - template -- auto format(rocsolver_logvalue wrapper, FormatCtx& ctx) -+ auto format(rocsolver_logvalue wrapper, FormatCtx& ctx) ROCSOLVER_FMT_CONST - { - return formatter::format(rocblas2char_eform(wrapper.value), ctx); - } -@@ -149,7 +157,7 @@ template <> - struct formatter> : formatter - { - template -- auto format(rocsolver_logvalue wrapper, FormatCtx& ctx) -+ auto format(rocsolver_logvalue wrapper, FormatCtx& ctx) ROCSOLVER_FMT_CONST - { - return formatter::format(rocblas2string_datatype(wrapper.value), ctx); - } -@@ -158,7 +166,7 @@ template <> - struct formatter> : formatter - { - template -- auto format(rocsolver_logvalue wrapper, FormatCtx& ctx) -+ auto format(rocsolver_logvalue wrapper, FormatCtx& ctx) ROCSOLVER_FMT_CONST - { - return formatter::format(rocblas2string_initialization(wrapper.value), ctx); - } diff --git a/sci-libs/rocSOLVER/files/rocSOLVER-5.4.2-libfmt9.patch b/sci-libs/rocSOLVER/files/rocSOLVER-5.4.2-libfmt9.patch deleted file mode 100644 index 3e0ef897b71e..000000000000 --- a/sci-libs/rocSOLVER/files/rocSOLVER-5.4.2-libfmt9.patch +++ /dev/null @@ -1,34 +0,0 @@ -commit bafa8f30b6f83d5f02bb65bb47b2943a0cb3c290 -Author: Cory Bloor -Date: Wed Jan 25 14:52:35 2023 -0700 - - Fix use of fmt 9.0 and later in logging test (#515) - - The implicitly defined formatter that rocsolver was using for - std::filesystem::path has been removed from fmt 9.0 and later. - - This change doesn't actually fix compatibility with the official - fmt 9.0 or 9.1 releases, because those releases are still - incompatible with HIP. However, the change is sufficient for using - rocsolver with fmt@9 from Spack (because the fix has been backported). - -diff --git a/clients/gtest/logging_gtest.cpp b/clients/gtest/logging_gtest.cpp -index e4f594a..da7ae04 100644 ---- a/clients/gtest/logging_gtest.cpp -+++ b/clients/gtest/logging_gtest.cpp -@@ -1,5 +1,5 @@ - /* ************************************************************************ -- * Copyright (c) 2022 Advanced Micro Devices, Inc. -+ * Copyright (c) 2022-2023 Advanced Micro Devices, Inc. - * ************************************************************************ */ - - #include -@@ -49,7 +49,7 @@ protected: - { - if(HasFailure() && std::getenv("ROCSOLVER_TEST_DEBUG")) - fmt::print(stderr, "ROCSOLVER_TEST_DEBUG is set so {} was not removed.\n", -- log_filepath); -+ log_filepath.string()); - else - EXPECT_TRUE(fs::remove(log_filepath)); - } diff --git a/sci-libs/rocSOLVER/rocSOLVER-5.1.3-r1.ebuild b/sci-libs/rocSOLVER/rocSOLVER-5.1.3-r1.ebuild deleted file mode 100644 index 7af286e20569..000000000000 --- a/sci-libs/rocSOLVER/rocSOLVER-5.1.3-r1.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake edo rocm - -DESCRIPTION="Implementation of a subset of LAPACK functionality on the ROCm platform" -HOMEPAGE="https://github.com/ROCmSoftwarePlatform/rocSOLVER" -SRC_URI="https://github.com/ROCmSoftwarePlatform/rocSOLVER/archive/rocm-${PV}.tar.gz -> rocSOLVER-${PV}.tar.gz" - -LICENSE="BSD" -KEYWORDS="~amd64" -SLOT="0/$(ver_cut 1-2)" - -IUSE="test benchmark" -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -RDEPEND="dev-util/hip - sci-libs/rocBLAS[${ROCM_USEDEP}] - dev-libs/libfmt - benchmark? ( virtual/blas )" -DEPEND="${RDEPEND}" -BDEPEND="test? ( dev-cpp/gtest - >=dev-build/cmake-3.22 - virtual/blas )" - -PATCHES=( - "${FILESDIR}/${PN}-4.2.0-add-stdint-header.patch" - "${FILESDIR}/${PN}-5.0.2-libfmt8.patch" -) - -RESTRICT="!test? ( test )" - -S=${WORKDIR}/${PN}-rocm-${PV} - -src_prepare() { - sed -e "s: PREFIX rocsolver:# PREFIX rocsolver:" -i library/src/CMakeLists.txt - sed -e "s:\$:\$:" -i library/src/CMakeLists.txt - sed -e "s:rocm_install_symlink_subdir( rocsolver ):#rocm_install_symlink_subdir( rocsolver ):" -i library/src/CMakeLists.txt - - cmake_src_prepare -} - -src_configure() { - # avoid sandbox violation - addpredict /dev/kfd - addpredict /dev/dri/ - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=On - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -Wno-dev - -DCMAKE_INSTALL_INCLUDEDIR="${EPREFIX}/usr/include/rocsolver" - -DBUILD_CLIENTS_SAMPLES=NO - -DBUILD_CLIENTS_TESTS=$(usex test ON OFF) - -DBUILD_CLIENTS_BENCHMARKS=$(usex benchmark ON OFF) - ) - - CXX=hipcc cmake_src_configure -} - -src_test() { - check_amdgpu - cd "${BUILD_DIR}"/clients/staging || die - LD_LIBRARY_PATH="${BUILD_DIR}/library/src" edob ./rocsolver-test -} - -src_install() { - cmake_src_install - - if use benchmark; then - cd "${BUILD_DIR}" || die - dobin clients/staging/rocsolver-bench - fi -} diff --git a/sci-libs/rocSOLVER/rocSOLVER-5.4.2.ebuild b/sci-libs/rocSOLVER/rocSOLVER-5.4.2.ebuild deleted file mode 100644 index 10fb52f40af2..000000000000 --- a/sci-libs/rocSOLVER/rocSOLVER-5.4.2.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ROCM_VERSION=${PV} - -inherit cmake edo rocm - -DESCRIPTION="Implementation of a subset of LAPACK functionality on the ROCm platform" -HOMEPAGE="https://github.com/ROCmSoftwarePlatform/rocSOLVER" -SRC_URI="https://github.com/ROCmSoftwarePlatform/rocSOLVER/archive/rocm-${PV}.tar.gz -> rocSOLVER-${PV}.tar.gz" - -LICENSE="BSD" -KEYWORDS="~amd64" -SLOT="0/$(ver_cut 1-2)" - -IUSE="test benchmark" -REQUIRED_USE="${ROCM_REQUIRED_USE}" - -RDEPEND="dev-util/hip - sci-libs/rocBLAS[${ROCM_USEDEP}] - dev-libs/libfmt - benchmark? ( virtual/blas )" -DEPEND="${RDEPEND}" -BDEPEND="test? ( dev-cpp/gtest - >=dev-build/cmake-3.22 - virtual/blas )" - -PATCHES=( "${FILESDIR}"/${PN}-5.4.2-libfmt9.patch ) - -RESTRICT="!test? ( test )" - -S=${WORKDIR}/${PN}-rocm-${PV} - -src_configure() { - # avoid sandbox violation - addpredict /dev/kfd - addpredict /dev/dri/ - - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=On - -DAMDGPU_TARGETS="$(get_amdgpu_flags)" - -Wno-dev - -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF - -DROCM_SYMLINK_LIBS=OFF - -DBUILD_CLIENTS_SAMPLES=NO - -DBUILD_CLIENTS_TESTS=$(usex test ON OFF) - -DBUILD_CLIENTS_BENCHMARKS=$(usex benchmark ON OFF) - ) - - CXX=hipcc cmake_src_configure -} - -src_test() { - check_amdgpu - cd "${BUILD_DIR}"/clients/staging || die - LD_LIBRARY_PATH="${BUILD_DIR}/library/src" edob ./rocsolver-test -} - -src_install() { - cmake_src_install - - if use benchmark; then - cd "${BUILD_DIR}" || die - dobin clients/staging/rocsolver-bench - fi -} diff --git a/sci-libs/rocSPARSE/Manifest b/sci-libs/rocSPARSE/Manifest index a469c5a77758..b420f80f8031 100644 --- a/sci-libs/rocSPARSE/Manifest +++ b/sci-libs/rocSPARSE/Manifest @@ -1,7 +1,3 @@ -AUX rocSPARSE-5.0.2-enable-gfx1031.patch 645 BLAKE2B 4e20882057d1f8687f47831cc8945b787606b6f6d1d676ba5e5e12d8ff61e1c22711da57b50d988d44b2962c6001d270ebe2ffcb751901a6eb64635e553a7cd9 SHA512 24fbfed3cafdf00c7e13d25136427b30c573191e32830431f7185fd9a2f537c110f83f4e6f8603f3c17381d316f13c3b626eeaa9331f9035e7bc9b34d0c7c70e -AUX rocSPARSE-5.0.2-remove-incorrect-assert.patch 1658 BLAKE2B 26aa66d7d61657eb591f7b345b64211f3cfb47f0a1b656716b32e299799bb8172483b4898878e532f7c6ca3f99bcb4a8789a1b6a913bc40dfebdc144613b0f27 SHA512 bfae11079c621b3372678ade78bea979b751777a48060b5ef26b3567fb89b1cf8591c998e199be649b03157662ef9b4889ca79498b16cf0bf6fbd1b9a532e485 -AUX rocSPARSE-5.0.2-remove-matrices-unpacking.patch 1205 BLAKE2B 0d903453692025f6f239c8b5d2f11dd6f9dfe5c09a63395898920326e0dbd6aeff37fdf2dde8e89ea1cbdc60252ab87b7ef020b56a726853d2f7261addcf00c8 SHA512 52ec3913f89f7886d6b8fb9ef54ca313c64e4c9d374507a0d89a8c7cf846e8f8f6b8a4ad266b23015869a79d2eaadb75c5540ca53e40163cb0fbdc2b1819e645 -DIST rocSPARSE-5.1.3.tar.gz 943788 BLAKE2B f9d5fc34d74bc10f3e5bd0a18da41fe9b35a2f01aca3a74979960958fd0e7648fca96493ba9d767119a452dd75ede0733959d0d4bae84615b7a1ff212c8412a3 SHA512 735aa210bbdc3f31b0ed4defe0288606e255788e877f24ed25506d780552a779305fe5bfd692a3e720e9b286073894300fcbcf161d41e1b23abf2110a9536bf3 DIST rocSPARSE-5.7.1.tar.gz 1167162 BLAKE2B 20ed88c87afbb041a31aa8bf867dca7ee670af093347c9c6a68b0750e70c796e7cfd599f84a58de2b8038f7681524bcb5909230fc340d1575dae3b72089ec650 SHA512 cd48884c51fcddcb26c42920cf477999160b3f06da4ab182f746a18d1fe54f697d89b1e470c550bd2330b26fb596d4a5baadf64366145e0d07f3fd8891f9af59 DIST rocSPARSE-6.1.1.tar.gz 1367035 BLAKE2B fc981df5913ea527bb4a7d3eba69373ebc7b74319f387e9f42a94feb1ec029ecca15618ea2d5ff7a91cb6e8959f164ab4be57755ee17db5f155f3b0e373cc487 SHA512 f87bd724b92fdb35e1c70cafcf09d95ab65f514bacfe1c59c5f0a2a75a8bae7a7dca2ee093ecd2e05adf542cc00165c0f8bf0a67e98013e2c4c72145ba951db2 DIST rocSPARSE-6.3.0.tar.gz 1490336 BLAKE2B 05260170c757247a93c4169603dd8f0c0ce8e1e83ca83775783bee243ed9d174af7762a39f252b1434fb6af8a86fdcc11a7994af79e8a8b9ea9f199670ab3a74 SHA512 c8ddd942ba5765f01457391d028599e8daecd107771a2ff7948f537756c323be516d40fc52f7443472db76f5d7411dcd266f8dbc7f0ae9d9cee8270ec8dcb1f7 @@ -30,7 +26,6 @@ DIST rocSPARSE_scircuit.tar.gz 8635362 BLAKE2B 3f1d6e35a6a774664bd653dd466fa3c07 DIST rocSPARSE_shipsec1.tar.gz 22175245 BLAKE2B f1d34482b8c3d3ee48033097d7d6f9b648e3c396a5ab2379efdc7de218adec519a235e2e94904f85a4f24c8d4ff15af096ca089379e00db47519023f64b85c16 SHA512 e027097e74f8ffc058339855b1c38cab52c68b661058318b429487e7188e11e907f6734894f9c71d1e38d262986525fba8d0f165bc0a1b4632d7e25be8db4f17 DIST rocSPARSE_sme3Dc.tar.gz 42483568 BLAKE2B f0d16b58f6ea28e67727637697a812a0b10d524c73aeb82f702411b9ebaea3670780e762ed0701aae80c6829e950233f74555523ef2d6c5740b007c7a65c03d4 SHA512 c5a0be2db919a45310a73ea1dd96d0d30168135f887a8c5c3d7ca11e2c3d12ea7d1331be20968d0135bd18da4ef2b043db68eeb7567b6f0f8daf782b87083c3a DIST rocSPARSE_webbase-1M.tar.gz 11360460 BLAKE2B 01b1d06adb5fb32fa402ed888d25a7e52a34779b078fc2e21c60e688d03579bb4ca8694f5ee4a824f7859952d55590a1fd9449dc80d6fe894d7b662b918882d4 SHA512 6401a965b8f6dd5392879956fde3c94f77fe1801a4a43428c03b6d639031575c647eab47b1babe53f4ecc2c3b8fc183e8339536b78dcd0d94ce62bfedd87c161 -EBUILD rocSPARSE-5.1.3-r1.ebuild 4960 BLAKE2B db6aa536d619dcadf79787ea73d5cae6098b9344c30d290423f582cdeff23df09d493e9df698c79c768afc9f6c61143db14835ae8ccff1f66a9eaa764605b812 SHA512 2a713a8630a399292646191b1ae7dee2acddcffddc1cbbff2ed66408715e64b7bf370ace80a3206c47f1560a51385f9413f4b61e4516d56b3934d921ef3bc111 EBUILD rocSPARSE-5.7.1-r2.ebuild 4917 BLAKE2B 0f671c24cbdaaab4f2c5f41394a0164bb152b82c45c9f55c169c4785bb7ec51c82ebc47911cdc1d5fd1285a809c860f609437cefb19c34a37a02285102211c2a SHA512 055e7eca53225cd1b14e2fb6c86a30505506dd83c1cbe3b84abd9b2081fb06f993e54376a1f04e4ef4322a9c4cbe8367a6cc797993bd5f104acba8e9422c0de6 EBUILD rocSPARSE-6.1.1.ebuild 4319 BLAKE2B e46bdae6c3c2b29fbddee9152b930d021c752622c4f2fce93ca20a8f63cc111bb20f5ae9bb4b640f136e255ea89e22dcaf1754bc98181f8f6b258c8108e4b656 SHA512 29949ce5def2c52c93c6f85d00dc84d3978ba1425070d4a32639002a6840604742d68664ff196846f43f60ce5b3b780d886994c9a5df2dc3c62aa78cadb1a7f2 EBUILD rocSPARSE-6.3.0.ebuild 4574 BLAKE2B 2187f8f70f4870402daf9d55b1ac292e7f51b22f75153612b4febbae354c129410ce467d9eaed99731f0e7f7207904e8e22cb0b50d1b75762c1e477224d51feb SHA512 2b1f293255445fcb7eaed05b5a4a7523741a696d6e4073c5edc2e21d69882b8d50cf661c3d0041ed61d1a93c518be33740fdc8259cc28e1046bad5954faff660 diff --git a/sci-libs/rocSPARSE/files/rocSPARSE-5.0.2-enable-gfx1031.patch b/sci-libs/rocSPARSE/files/rocSPARSE-5.0.2-enable-gfx1031.patch deleted file mode 100644 index fd44bb938406..000000000000 --- a/sci-libs/rocSPARSE/files/rocSPARSE-5.0.2-enable-gfx1031.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: rocSPARSE-rocm-5.0.2/library/src/include/common.h -=================================================================== ---- rocSPARSE-rocm-5.0.2.orig/library/src/include/common.h -+++ rocSPARSE-rocm-5.0.2/library/src/include/common.h -@@ -167,7 +167,7 @@ __device__ __forceinline__ void rocspars - if(BLOCKSIZE > 1) { if(i < 1 && i + 1 < BLOCKSIZE) { data[i] = min(data[i], data[i + 1]); } __syncthreads(); } - } - --#ifndef __gfx1030__ -+#if !defined(__gfx1030__) && !defined(__gfx1031__) - // DPP-based wavefront reduction maximum - template - __device__ __forceinline__ void rocsparse_wfreduce_max(int* maximum) diff --git a/sci-libs/rocSPARSE/files/rocSPARSE-5.0.2-remove-incorrect-assert.patch b/sci-libs/rocSPARSE/files/rocSPARSE-5.0.2-remove-incorrect-assert.patch deleted file mode 100644 index 9baa962c05f5..000000000000 --- a/sci-libs/rocSPARSE/files/rocSPARSE-5.0.2-remove-incorrect-assert.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 48b763f01b658dece7f71784fe4362e56167db2f Mon Sep 17 00:00:00 2001 -From: James Sandham <33790278+jsandham@users.noreply.github.com> -Date: Fri, 28 Jan 2022 10:24:08 -0800 -Subject: [PATCH] remove incorrect assert from spmm_bell (#302) - -Co-authored-by: jsandham ---- - library/src/level3/rocsparse_bellmm_template_general.cpp | 7 +++---- - 1 file changed, 3 insertions(+), 4 deletions(-) - -diff --git a/library/src/level3/rocsparse_bellmm_template_general.cpp b/library/src/level3/rocsparse_bellmm_template_general.cpp -index 81f36a32..bbce9a17 100644 ---- a/library/src/level3/rocsparse_bellmm_template_general.cpp -+++ b/library/src/level3/rocsparse_bellmm_template_general.cpp -@@ -1,6 +1,6 @@ - /*! \file */ - /* ************************************************************************ -- * Copyright (c) 2021 Advanced Micro Devices, Inc. -+ * Copyright (c) 2021-2022 Advanced Micro Devices, Inc. - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal -@@ -101,9 +101,8 @@ rocsparse_status rocsparse_bellmm_template_general(rocsparse_handle han - I ldc) - { - hipStream_t stream = handle->stream; -- assert(block_dim > 32); -- dim3 bellmm_blocks((mb - 1) / 1 + 1, (n - 1) / 32 + 1); -- dim3 bellmm_threads(32, 32, 1); -+ dim3 bellmm_blocks((mb - 1) / 1 + 1, (n - 1) / 32 + 1); -+ dim3 bellmm_threads(32, 32, 1); - assert(trans_A == rocsparse_operation_none); - // - // What happends if A needs to be transposed? diff --git a/sci-libs/rocSPARSE/files/rocSPARSE-5.0.2-remove-matrices-unpacking.patch b/sci-libs/rocSPARSE/files/rocSPARSE-5.0.2-remove-matrices-unpacking.patch deleted file mode 100644 index 81d2b4ab1458..000000000000 --- a/sci-libs/rocSPARSE/files/rocSPARSE-5.0.2-remove-matrices-unpacking.patch +++ /dev/null @@ -1,42 +0,0 @@ -Don't let cmake handle test data download, unpack and convert - -Index: rocSPARSE-rocm-5.0.2/clients/tests/CMakeLists.txt -=================================================================== ---- rocSPARSE-rocm-5.0.2.orig/clients/tests/CMakeLists.txt -+++ rocSPARSE-rocm-5.0.2/clients/tests/CMakeLists.txt -@@ -23,35 +23,6 @@ - - find_package(GTest 1.10.0 REQUIRED) - --# --# Client matrices. --# -- --if(NOT EXISTS "${CMAKE_MATRICES_DIR}") -- # -- # Download. -- # -- set(CMAKE_MATRICES_DIR ${PROJECT_BINARY_DIR}/matrices CACHE STRING "Matrices directory.") -- -- if(NOT TARGET rocsparse) -- set(CONVERT_SOURCE ${CMAKE_SOURCE_DIR}/../deps/convert.cpp CACHE STRING "Convert tool mtx2csr.") -- include(${CMAKE_SOURCE_DIR}/../cmake/ClientMatrices.cmake) -- else() -- set(CONVERT_SOURCE ${CMAKE_SOURCE_DIR}/deps/convert.cpp CACHE STRING "Convert tool mtx2csr.") -- include(${CMAKE_SOURCE_DIR}/cmake/ClientMatrices.cmake) -- endif() -- --else() -- -- # -- # Copy. -- # -- if(NOT CMAKE_MATRICES_DIR STREQUAL "${PROJECT_BINARY_DIR}/matrices") -- execute_process(COMMAND cp -r ${CMAKE_MATRICES_DIR} ${PROJECT_BINARY_DIR}/matrices) -- endif() -- --endif() -- - set(ROCSPARSE_TEST_SOURCES - test_axpby.cpp - test_axpyi.cpp diff --git a/sci-libs/rocSPARSE/rocSPARSE-5.1.3-r1.ebuild b/sci-libs/rocSPARSE/rocSPARSE-5.1.3-r1.ebuild deleted file mode 100644 index c18eeff84c43..000000000000 --- a/sci-libs/rocSPARSE/rocSPARSE-5.1.3-r1.ebuild +++ /dev/null @@ -1,136 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..11} ) -ROCM_VERSION=${PV} - -inherit cmake edo python-any-r1 toolchain-funcs rocm - -DESCRIPTION="Basic Linear Algebra Subroutines for sparse computation" -HOMEPAGE="https://github.com/ROCmSoftwarePlatform/rocSPARSE" - -SRC_URI="https://github.com/ROCmSoftwarePlatform/rocSPARSE/archive/rocm-${PV}.tar.gz -> rocSPARSE-${PV}.tar.gz -test? ( -https://sparse.tamu.edu/MM/SNAP/amazon0312.tar.gz -> ${PN}_amazon0312.tar.gz -https://sparse.tamu.edu/MM/Muite/Chebyshev4.tar.gz -> ${PN}_Chebyshev4.tar.gz -https://sparse.tamu.edu/MM/FEMLAB/sme3Dc.tar.gz -> ${PN}_sme3Dc.tar.gz -https://sparse.tamu.edu/MM/Williams/webbase-1M.tar.gz -> ${PN}_webbase-1M.tar.gz -https://sparse.tamu.edu/MM/Bova/rma10.tar.gz -> ${PN}_rma10.tar.gz -https://sparse.tamu.edu/MM/JGD_BIBD/bibd_22_8.tar.gz -> ${PN}_bibd_22_8.tar.gz -https://sparse.tamu.edu/MM/Williams/mac_econ_fwd500.tar.gz -> ${PN}_mac_econ_fwd500.tar.gz -https://sparse.tamu.edu/MM/Williams/mc2depi.tar.gz -> ${PN}_mc2depi.tar.gz -https://sparse.tamu.edu/MM/Hamm/scircuit.tar.gz -> ${PN}_scircuit.tar.gz -https://sparse.tamu.edu/MM/Sandia/ASIC_320k.tar.gz -> ${PN}_ASIC_320k.tar.gz -https://sparse.tamu.edu/MM/GHS_psdef/bmwcra_1.tar.gz -> ${PN}_bmwcra_1.tar.gz -https://sparse.tamu.edu/MM/HB/nos1.tar.gz -> ${PN}_nos1.tar.gz -https://sparse.tamu.edu/MM/HB/nos2.tar.gz -> ${PN}_nos2.tar.gz -https://sparse.tamu.edu/MM/HB/nos3.tar.gz -> ${PN}_nos3.tar.gz -https://sparse.tamu.edu/MM/HB/nos4.tar.gz -> ${PN}_nos4.tar.gz -https://sparse.tamu.edu/MM/HB/nos5.tar.gz -> ${PN}_nos5.tar.gz -https://sparse.tamu.edu/MM/HB/nos6.tar.gz -> ${PN}_nos6.tar.gz -https://sparse.tamu.edu/MM/HB/nos7.tar.gz -> ${PN}_nos7.tar.gz -https://sparse.tamu.edu/MM/DNVS/shipsec1.tar.gz -> ${PN}_shipsec1.tar.gz -https://sparse.tamu.edu/MM/Cote/mplate.tar.gz -> ${PN}_mplate.tar.gz -https://sparse.tamu.edu/MM/Bai/qc2534.tar.gz -> ${PN}_qc2534.tar.gz -https://sparse.tamu.edu/MM/Chevron/Chevron2.tar.gz -> ${PN}_Chevron2.tar.gz -https://sparse.tamu.edu/MM/Chevron/Chevron3.tar.gz -> ${PN}_Chevron3.tar.gz -https://sparse.tamu.edu/MM/Chevron/Chevron4.tar.gz -> ${PN}_Chevron4.tar.gz -)" - -LICENSE="MIT" -KEYWORDS="~amd64" -IUSE="benchmark test" -REQUIRED_USE="${ROCM_REQUIRED_USE}" -SLOT="0/$(ver_cut 1-2)" - -RDEPEND="dev-util/hip - sci-libs/rocPRIM:${SLOT}" -DEPEND="${RDEPEND}" -BDEPEND="test? ( - dev-cpp/gtest - >=dev-build/cmake-3.22 - $(python_gen_any_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]') -) -benchmark? ( app-admin/chrpath ) -" - -RESTRICT="!test? ( test )" - -S="${WORKDIR}/rocSPARSE-rocm-${PV}" - -PATCHES=( "${FILESDIR}/${PN}-5.0.2-remove-matrices-unpacking.patch" - "${FILESDIR}/${PN}-5.0.2-enable-gfx1031.patch" - "${FILESDIR}/${PN}-5.0.2-remove-incorrect-assert.patch" ) - -python_check_deps() { - if use test; then - python_has_version "dev-python/pyyaml[${PYTHON_USEDEP}]" - fi -} - -src_prepare() { - sed -e "s/PREFIX rocsparse//" \ - -e "/