turborvb icon indicating copy to clipboard operation
turborvb copied to clipboard

Make 6 branch

Open addman2 opened this issue 1 year ago • 0 comments

Similarly to 0 branch we can have speed up for pseudo case if we make also branch 6 or 12.

This is little bit more technical but for those who don't know, there is a pseudo averaging in turbo in pseudopotential case. Number of points can be arbitrary but normally it is is either 0 (non-pseudo case), 6 (most common) or 12. If these numbers would be known during compile time compiler could do much better vectorization. The fore there is a trick how to automatically do a special branch of the code for these particular numbers.

addman2 avatar Apr 25 '23 16:04 addman2