Commit 8436fd41 authored by Andreas Marek's avatar Andreas Marek

Cleanup call of complex AVX2 block1 sub-kernels

parent 7d4d6829
......@@ -112,11 +112,17 @@ void single_hh_trafo_complex_avx_avx2_1hv(double complex* q, double complex* hh,
{
hh_trafo_complex_kernel_12_AVX_1hv(&q[i], hh, nb, ldq);
}
if (nq-i > 4)
if (nq == i)
{
return;
}
if (nq-i == 8)
{
hh_trafo_complex_kernel_8_AVX_1hv(&q[i], hh, nb, ldq);
}
else if (nq-i > 0)
else
{
hh_trafo_complex_kernel_4_AVX_1hv(&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