Mentions légales du service

Skip to content
Snippets Groups Projects
Commit cff1f7cf authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

Merge branch 'hotfix/issue103' into 'master'

StarPU: make sure starpu is compiled with cuda support when CUDA is enabled

Closes #103

See merge request !291
parents e9e1093b f47b447d
No related branches found
No related tags found
1 merge request!291StarPU: make sure starpu is compiled with cuda support when CUDA is enabled
......@@ -125,6 +125,14 @@ if ( STARPU_FOUND )
message("-- ${Blue}Add definition HAVE_STARPU_MPI_COMM_GET_ATTR${ColourReset}")
endif()
endif()
if (CHAMELEON_USE_CUDA AND NOT CHAMELEON_SIMULATION)
check_function_exists(starpu_cublas_get_local_handle HAVE_STARPU_CUBLAS_GET_LOCAL_HANDLE)
if ( NOT HAVE_STARPU_CUBLAS_GET_LOCAL_HANDLE )
message(FATAL_ERROR "The detected StarPU library does not include cublas support. Please disable CHAMELEON_USE_CUDA or provide a StarPU library with cublas support.")
endif()
endif()
morse_cmake_required_unset()
endif ( STARPU_FOUND )
......
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