Commit 5675b612 authored by Andreas Marek's avatar Andreas Marek
Browse files

Error when looping over all kernels in test programs

In case of GPU build it is NOT sufficient to loop over all kernels:

For the GPU kernels one must ALSO set that GPUs should be used
parent 1167278a
......@@ -210,7 +210,14 @@ program test
do i = 0, elpa_option_cardinality(KERNEL_KEY)
kernel = elpa_option_enumerate(KERNEL_KEY, i)
#ifdef TEST_REAL
if (kernel .eq. ELPA_2STAGE_REAL_GPU) then
if (kernel .eq. ELPA_2STAGE_COMPLEX_GPU) then
call e%set("gpu",1)
#endif /* TEST_ALL_KERNELS */
call e%set(KERNEL_KEY, TEST_KERNEL, error)
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