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)
return MORSE_ERR_OUT_OF_RESOURCES;
}
#if 0
#if 0
/* Init number of cores and topology */
morse_topology_init();
......
......@@ -8,7 +8,10 @@ set(TESTLIST
)
foreach(prec ${RP_CHAMELEON_PRECISIONS})
foreach(test ${TESTLIST})
add_test(example_basic_${prec}${test} ./${prec}${test})
endforeach()
string(TOUPPER ${prec} PREC)
if (CHAMELEON_PREC_${PREC})
foreach(test ${TESTLIST})
add_test(example_basic_${prec}${test} ./${prec}${test})
endforeach()
endif()
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