Package Details: rocblas 5.2.1-1

Git Clone URL: (read-only, click to copy)
Package Base: rocblas
Description: Next generation BLAS implementation for ROCm platform
Upstream URL:
Licenses: MIT
Submitter: farnoy
Maintainer: tpkessler
Last Packager: tpkessler
Votes: 9
Popularity: 0.003721
First Submitted: 2018-12-21 18:47 (UTC)
Last Updated: 2022-07-23 10:13 (UTC)

Pinned Comments

naetherm commented on 2020-04-09 05:30 (UTC)

Development is on Github: Please open issues and PRs there instead of commenting.

Latest Comments

naetherm commented on 2020-04-09 05:30 (UTC)

Development is on Github: Please open issues and PRs there instead of commenting.

daren commented on 2020-02-10 14:13 (UTC)

Anyone having any luck with building this with "-DBUILD_WITH_TENSILE=ON"?

MIOpen can't link against this because of missing symbols:

ld: ../lib/ undefined reference to `rocblas_gemm_ex'
ld: ../lib/ undefined reference to `rocblas_gemm_strided_batched_ex'

Enabling Tensile would maybe build these GEMM functions?

mardab commented on 2019-08-13 19:13 (UTC)

when can we expect 2.6?

farnoy commented on 2019-07-14 19:51 (UTC)

rocblas 2.6.0 won't build without hip 2.6.0, see my comment in that AUR package

farnoy commented on 2019-06-25 10:48 (UTC) (edited on 2019-06-25 10:48 (UTC) by farnoy)

@mardab Do you have this file installed properly by hip?

On my machine:

$ pacman -Ql hip | grep libhip_hcc_static.a 
hip /opt/rocm/hip/lib/libhip_hcc_static.a

I'm updating it to 2.5.0 right now, maybe that will help

mardab commented on 2019-06-25 06:30 (UTC)

Tried to install in a certain order (rocm-cmake-git/hip/hcc, then rocblas), but every single time rocblas installation failed with libhip_hcc_static.a missing

Mushoz commented on 2019-05-05 16:34 (UTC)

I am having the exact same issue as described below with the same error messages. Getting that both when trying to install rocblas as installing rocrand.

rigred commented on 2019-05-01 16:51 (UTC) (edited on 2019-05-01 18:53 (UTC) by rigred)

I somehow managed to get everything install without changes/patches by merely manually building everything with makepkg in the cache folder. First hip, then rocblas

Which puts me back at square 1 with the same questions

  1. Why does that work?
  2. Why did it not work with yay before?

But I don't expect anyone to be able to answer that. Also I do have rocm-cmake-git installed

cguenther commented on 2019-04-24 12:22 (UTC)

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 (UTC)

@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 (UTC) (edited on 2019-04-19 21:57 (UTC) by nil)

@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 (UTC)

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 (UTC)

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


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 (UTC)

@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 (UTC) (edited on 2019-03-11 00:15 (UTC) by ulyssesrr)

@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 (UTC)

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 (UTC)

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 (UTC)

@farnoy Package fails to build with KeyError: 'MaxVmcnt' as in:

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 (UTC)

@farnoy consider it done

farnoy commented on 2019-01-24 18:08 (UTC)

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

mardab commented on 2019-01-24 18:01 (UTC)

@farnoy yes, it detects both GPUs that are present on the system, but after line of hashes all the activity stops (checked with htop)

farnoy commented on 2019-01-24 10:00 (UTC)

Do you have a local GPU installed? I get this output around Tensile Create Library:

# Tensile Create Library
# Detected local GPU with ISA: gfx900

Are you sure it freezes? How long have you ran it for?

As for python2, that is what the project uses, it won't work with python3

mardab commented on 2019-01-23 21:53 (UTC)

build freezes on "Tensile Create Library" sidenote: does it really have to default to python 2.7?

farnoy commented on 2019-01-21 18:40 (UTC)

You're right, adding it now thanks!

uhrm commented on 2019-01-20 19:16 (UTC)

This package also seems to need 'hip' as a dependency to build.