Commit 7560a7b3 authored by Andreas Marek's avatar Andreas Marek
Browse files

Cleanup of subkernel calls for AVX complex double precision block1

parent fa9926fc
......@@ -113,11 +113,14 @@ void single_hh_trafo_complex_avx_avx2_1hv_double(double complex* q, double compl
{
hh_trafo_complex_kernel_12_AVX_1hv_double(&q[i], hh, nb, ldq);
}
if (nq-i > 4)
if (nq-i == 0)
{
hh_trafo_complex_kernel_8_AVX_1hv_double(&q[i], hh, nb, ldq);
return;
}
else if (nq-i > 0)
if (nq-i == 8)
{
hh_trafo_complex_kernel_8_AVX_1hv_double(&q[i], hh, nb, ldq);
} else
{
hh_trafo_complex_kernel_4_AVX_1hv_double(&q[i], hh, nb, ldq);
}
......
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