ROCm / hipBLAS

ROCm BLAS marshalling library
https://rocm.docs.amd.com/projects/hipBLAS/en/latest/index.html
Other
112 stars 77 forks source link

hipBLAS Ubuntu packaging is broken #422

Closed upsj closed 2 years ago

upsj commented 2 years ago

Since I can't see a better place to list this issue

What is the expected behavior

The hipblas package contains library, headers and CMake config files

example from rocm-4.3.0

# dpkg-query -L hipblas
/opt
/opt/rocm-4.3.0
/opt/rocm-4.3.0/hipblas
/opt/rocm-4.3.0/hipblas/include
/opt/rocm-4.3.0/hipblas/include/exceptions.hpp
/opt/rocm-4.3.0/hipblas/include/hipblas-export.h
/opt/rocm-4.3.0/hipblas/include/hipblas-version.h
/opt/rocm-4.3.0/hipblas/include/hipblas.h
/opt/rocm-4.3.0/hipblas/include/hipblas_module.f90
/opt/rocm-4.3.0/hipblas/lib
/opt/rocm-4.3.0/hipblas/lib/cmake
/opt/rocm-4.3.0/hipblas/lib/cmake/hipblas
/opt/rocm-4.3.0/hipblas/lib/cmake/hipblas/hipblas-config-version.cmake
/opt/rocm-4.3.0/hipblas/lib/cmake/hipblas/hipblas-config.cmake
/opt/rocm-4.3.0/hipblas/lib/cmake/hipblas/hipblas-targets-release.cmake
/opt/rocm-4.3.0/hipblas/lib/cmake/hipblas/hipblas-targets.cmake
/opt/rocm-4.3.0/hipblas/lib/libhipblas.so.0.1.40300
/opt/rocm-4.3.0/include
/opt/rocm-4.3.0/lib
/opt/rocm-4.3.0/lib/cmake
/opt/rocm-4.3.0/lib/cmake/hipblas
/opt/rocm-4.3.0/hipblas/lib/libhipblas.so
/opt/rocm-4.3.0/hipblas/lib/libhipblas.so.0
/opt/rocm-4.3.0/include/exceptions.hpp
/opt/rocm-4.3.0/include/hipblas-export.h
/opt/rocm-4.3.0/include/hipblas-version.h
/opt/rocm-4.3.0/include/hipblas.h
/opt/rocm-4.3.0/include/hipblas_module.f90
/opt/rocm-4.3.0/lib/cmake/hipblas/hipblas-config-version.cmake
/opt/rocm-4.3.0/lib/cmake/hipblas/hipblas-config.cmake
/opt/rocm-4.3.0/lib/cmake/hipblas/hipblas-targets-release.cmake
/opt/rocm-4.3.0/lib/cmake/hipblas/hipblas-targets.cmake
/opt/rocm-4.3.0/lib/libhipblas.so
/opt/rocm-4.3.0/lib/libhipblas.so.0
/opt/rocm-4.3.0/lib/libhipblas.so.0.1.40300

What actually happens

The hipblas package contains only the library itself without headers and CMake config

# dpkg-query -L hipblas
/opt
/opt/rocm-4.5.0
/opt/rocm-4.5.0/hipblas
/opt/rocm-4.5.0/hipblas/lib
/opt/rocm-4.5.0/hipblas/lib/libhipblas.so.0.1.40500
/opt/rocm-4.5.0/lib
/opt/rocm-4.5.0/hipblas/lib/libhipblas.so.0
/opt/rocm-4.5.0/lib/libhipblas.so.0
/opt/rocm-4.5.0/lib/libhipblas.so.0.1.40500

How to reproduce

Install the latest hipblas package from http://repo.radeon.com/rocm/apt/debian/ ubuntu main

TorreZuk commented 2 years ago

Sorry but now developers will need to install a separate package for headers and cmake files called hipblas-dev hipblas will be runtime only components. The changelog mentions this but maybe the package name mentioned there is wrong: https://github.com/ROCmSoftwarePlatform/hipBLAS/blob/develop/CHANGELOG.md see section hipBLAS 0.48.0 for ROCm 4.5.0

upsj commented 2 years ago

Right, sorry for the confusion! Everything seems to work fine now. There are some differences between package names (-dev vs. -devel), but it sounds like those are package manager-specific conventions.