Closed devreal closed 11 months ago
This is where the error message comes from in cublas_v2.h:
#if defined(CUBLAS_H_)
#error "It is an error to include both cublas.h and cublas_v2.h"
#endif
Possible solutions could be using cublas_v2 only or #undef CUBLAS_H_
before calling clublas_v2.
Describe the bug
Nvidia decided to deliberately break their API by mapping cublas v2 symbols to cublas symbols based on the order in which their headers are included. With CUDA 12.1.1 (on xsdk) the build of dplasma fails:
Nvidia's own
cusolverDn.h
includescublas_v2.h
butpotrf_cublas_utils.h
includescublas.h
. I guess DPLASMA must use exclusively the v2 header to avoid this conflict.To Reproduce