Package Details: rocblas 2.3.0-1

Git Clone URL: https://aur.archlinux.org/rocblas.git (read-only)
Package Base: rocblas
Description: Next generation BLAS implementation for ROCm platform
Upstream URL: https://github.com/ROCmSoftwarePlatform/rocBLAS
Licenses: NCSAOSL
Submitter: farnoy
Maintainer: farnoy
Last Packager: farnoy
Votes: 4
Popularity: 0.886162
First Submitted: 2018-12-21 18:47
Last Updated: 2019-04-13 13:26

Latest Comments

1 2 Next › Last »

cguenther commented on 2019-04-24 12:22

I have manually installed hip, hcc and rocm-cmake-git but i still get the error for the mussing static lib in the .cache folder. The patch for the pkgbuild in the package section did not work for me. How do i achieve that this build script does a lookup in the /opt pathes where the packages are installed?

farnoy commented on 2019-04-20 11:35

@nil @rigred do you guys have rocm-cmake-git installed? Maybe it's needed for this package and I forgot to specify it

nil commented on 2019-04-19 21:50

@rigred I could get around this error by modifying the PKGBUILD of hip. Added this in the package section to replace the faulty file:

cp "$srcdir/HIP-roc-$pkgver/packaging/hip-targets-release.cmake" "${pkgdir}/opt/rocm/hip/lib/cmake/hip/hip-targets-release.cmake"

farnoy commented on 2019-04-14 11:39

Interesting, but I'm not sure what the fix is. I've seen builds of other packages reference the build directories, but the final linkage works for me (although I have other problems)

rigred commented on 2019-04-14 09:41

Just a headsup that sometimes rocblas build fails with the following

CMake Error at /opt/rocm/hip/lib/cmake/hip/hip-targets.cmake:96 (message):
  The imported target "hip::hip_hcc_static" references the file

     "/home/rgr/.cache/yay/hip/pkg/hip/opt/rocm/hip/lib/libhip_hcc_static.a"

But I presume it's supposed to be linked with /opt/rocm/hip/lib/libhip_hcc_static.a

farnoy commented on 2019-03-16 16:31

@ulyssesrr Thanks for pointing it out, I've added rocminfo as a makedepend for rocblas.

@rigred I get this after some updates to packages for 2.2.0:

==> Starting build()...
-- The CXX compiler identification is Clang 9.0.0
-- Check for working CXX compiler: /opt/rocm/hcc/bin/hcc
-- Check for working CXX compiler: /opt/rocm/hcc/bin/hcc -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- HCC compiler set; ROCm backend selected [ CXX=/opt/rocm/bin/hcc cmake ... ]

The CXX setting is indeed weird, this path does not exist on my machine: /opt/rocm/bin/hcc. But the compilation completes without any problems. I'm pushing out the 2.2.0 for rocblas right now.

ulyssesrr commented on 2019-03-11 00:10

@farnoy Sorry, I forgot to update my comment there, after adding hcc and hcc-config (and installing rocm-smi) I also had to install your rocminfo package as tensile needs /opt/rocm/bin/rocm_agent_enumerator to detect the correct ISA. It needs to be added to (make)depends .

rigred commented on 2019-03-10 12:48

I have noticed that in spite of rocblas CXX for cmake being changed it still incorrectly attempts to build with the old path

==> Starting build()...
-- HCC compiler set; ROCm backend selected [ CXX=/opt/rocm/bin/hcc cmake ... ]

Which would indicate that what was set in PKGBUILD is ignored:

 # compile with HCC
  export CXX=/opt/rocm/hcc/bin/hcc

I've even tried adding -DCMAKE_CXX_COMPILER=/opt/rocm/hcc/bin/hcc

But it gets ignored... Quite strange.

farnoy commented on 2019-03-07 20:07

Hey @ulyssesrr, I pushed out the fixes to symlinks in hcc, but I can't build rocblas, getting the same MaxVmcnt error. Are you sure that was the cause of this problem?

ulyssesrr commented on 2019-03-01 02:51

@farnoy Package fails to build with KeyError: 'MaxVmcnt' as in: https://github.com/ROCmSoftwarePlatform/rocBLAS/issues/487

This happens because hcc package didn't place the binaries in the System PATH, the symlinks it creates are broken, as reported there.

As always, thanks for your work.