Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 94272ade authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

add definition HAVE_CUBLAS for compatibility with MAGMA

parent 91108685
No related branches found
No related tags found
No related merge requests found
...@@ -342,6 +342,7 @@ if(NOT CHAMELEON_SIMULATION) ...@@ -342,6 +342,7 @@ if(NOT CHAMELEON_SIMULATION)
find_package(MAGMA ${CHAMELEON_MAGMA_VERSION} REQUIRED COMPONENTS CBLAS LAPACK CUDA) find_package(MAGMA ${CHAMELEON_MAGMA_VERSION} REQUIRED COMPONENTS CBLAS LAPACK CUDA)
if ( MAGMA_FOUND ) if ( MAGMA_FOUND )
add_definitions(-DHAVE_CUBLAS)
add_definitions(-DCHAMELEON_USE_CUBLAS) add_definitions(-DCHAMELEON_USE_CUBLAS)
add_definitions(-DCHAMELEON_USE_MAGMA) add_definitions(-DCHAMELEON_USE_MAGMA)
list(APPEND EXTRA_LIBRARIES ${CUDA_CUBLAS_LIBRARIES}) list(APPEND EXTRA_LIBRARIES ${CUDA_CUBLAS_LIBRARIES})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment