Package Details: rocblas 3.5.0-1

Git Clone URL: https://aur.archlinux.org/rocblas.git (read-only, click to copy)
Package Base: rocblas
Description: Next generation BLAS implementation for ROCm platform
Upstream URL: https://rocblas.readthedocs.io/en/latest
Licenses: MIT
Submitter: farnoy
Maintainer: naetherm (farnoy, rsa, acxz)
Last Packager: acxz
Votes: 8
Popularity: 0.41
First Submitted: 2018-12-21 18:47
Last Updated: 2020-06-14 14:06

Pinned Comments

naetherm commented on 2020-04-09 05:30

Development is on Github: https://github.com/rocm-arch/rocm-arch Please open issues and PRs there instead of commenting.

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

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.

mardab commented on 2019-01-29 18:39

@farnoy consider it done

farnoy commented on 2019-01-24 18:08

Interesting, I think you should report this upstream, I don't know how to help here.