You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm building using CMake directly[1] for CUDA backend:
# On branch release/rocm-rel-5.5
mkdir build && cd build
cmake -DUSE_CUDA=ON -DHIP_ROOT_DIR=/opt/rocm ..
make
Scanning dependencies of target hipblas_fortran
[ 20%] Building Fortran object library/src/CMakeFiles/hipblas_fortran.dir/hipblas_module.f90.o
[ 40%] Linking Fortran shared library libhipblas_fortran.so
[ 40%] Built target hipblas_fortran
[ 60%] Building CXX object library/src/CMakeFiles/hipblas.dir/nvidia_detail/hipblas.cpp.o
In file included from /home/torrance/hipBLAS/library/src/nvidia_detail/hipblas.cpp:27:
/usr/local/cuda/include/cublas_v2.h:59:2: error: #error "It is an error to include both cublas.h and cublas_v2.h"
59 | #error "It is an error to include both cublas.h and cublas_v2.h"
| ^~~~~
I can compile with the following changes, though I don't know if this is properly functional or not:
[1] i.e. not using the install.sh script, though the error is present in both obviously. Honestly though, why this install script, when the rest of the hip ecosystem uses CMake? And why default to making a .deb package?
Environment
Hardware
description
GPU
Tesla T4
CPU
Intel(R) Xeon(R) Gold 6254 CPU @ 3.10GHz
Software
version
HIP
v5.5
CUDA
12.1
The text was updated successfully, but these errors were encountered:
Looks like including both cublas.h and cublas_v2.h is no longer allowed in cuda 12. Appears that cublasStatus was also removed after being replaced by cublasStatus_t a while back, I guess that was missed in the past.
Your changes built fine for me on both cuda 11 and cuda 12. I've opened #605 with your changes.
I'm building using CMake directly[1] for CUDA backend:
I can compile with the following changes, though I don't know if this is properly functional or not:
[1] i.e. not using the install.sh script, though the error is present in both obviously. Honestly though, why this install script, when the rest of the hip ecosystem uses CMake? And why default to making a .deb package?
Environment
The text was updated successfully, but these errors were encountered: