Commit 94272ade authored by PRUVOST Florent's avatar PRUVOST Florent

add definition HAVE_CUBLAS for compatibility with MAGMA

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