Commit 9c8f4836 authored by PRUVOST Florent's avatar PRUVOST Florent

automatically set CUDA ON if MAGMA is ON

parent 835c7d62
......@@ -124,6 +124,10 @@ if (MORSE_DISTRIB_DIR OR EXISTS "${CMAKE_SOURCE_DIR}/cmake_modules/")
"to ON (CHAMELEON_SCHED_QUARK will be disabled)${ColourReset}")
endif()
if (CHAMELEON_USE_MAGMA)
set(CHAMELEON_USE_CUDA ON)
endif()
# Check that one, and only one, SCHED option is set to ON
# count number of runtime sets to ON
math(EXPR number_of_active_runtime 0)
......
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