Commit dcc30d68 authored by PRUVOST Florent's avatar PRUVOST Florent

check if each precision is activated for the example executables

parent a081dad9
...@@ -90,7 +90,7 @@ int MORSE_InitPar(int nworkers, int ncudas, int nthreads_per_worker) ...@@ -90,7 +90,7 @@ int MORSE_InitPar(int nworkers, int ncudas, int nthreads_per_worker)
return MORSE_ERR_OUT_OF_RESOURCES; return MORSE_ERR_OUT_OF_RESOURCES;
} }
#if 0 #if 0
/* Init number of cores and topology */ /* Init number of cores and topology */
morse_topology_init(); morse_topology_init();
......
...@@ -8,7 +8,10 @@ set(TESTLIST ...@@ -8,7 +8,10 @@ set(TESTLIST
) )
foreach(prec ${RP_CHAMELEON_PRECISIONS}) foreach(prec ${RP_CHAMELEON_PRECISIONS})
foreach(test ${TESTLIST}) string(TOUPPER ${prec} PREC)
add_test(example_basic_${prec}${test} ./${prec}${test}) if (CHAMELEON_PREC_${PREC})
endforeach() foreach(test ${TESTLIST})
add_test(example_basic_${prec}${test} ./${prec}${test})
endforeach()
endif()
endforeach() endforeach()
\ No newline at end of file
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