ICLDisco / dplasma

DPLASMA is a highly optimized, accelerator-aware, implementation of a dense linear algebra package for distributed heterogeneous systems. It is designed to deliver sustained performance for distributed systems where each node featuring multiple sockets of multicore processors, and if available, accelerators, using the PaRSEC runtime as a backend.
Other
10 stars 8 forks source link

Error when compiling with CUDA 12 #93

Closed QingleiCao closed 1 year ago

QingleiCao commented 1 year ago

Describe the bug

When compiling with CUDA 12: #error "It is an error to include both cublas.h and cublas_v2.h". For instance,

In file included from /apps/spacks/2023-05-19/opt/spack/linux-rocky9-x86_64/gcc-9.5.0/cuda-12.1.1-7lpbukftno3qrmzyonhzq5wbnw7qkxdl/include/cusolverDn.h:86,
                 from /home/qcao3/dplasma-icl/src/potrf_cublas_utils.h:12,
                 from /home/qcao3/dplasma-icl/build-cuda12/src/cpotrf_wrapper.c:16:
/apps/spacks/2023-05-19/opt/spack/linux-rocky9-x86_64/gcc-9.5.0/cuda-12.1.1-7lpbukftno3qrmzyonhzq5wbnw7qkxdl/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"
devreal commented 1 year ago

Duplicate of https://github.com/ICLDisco/dplasma/issues/92 :)

QingleiCao commented 1 year ago

Duplicate of #92 :)

I see. Thanks! I will close this issue.

QingleiCao commented 1 year ago

This issue is a duplicate of issue #92.