parallel prolongation reversion to serial
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit

This commit is contained in:
austin 2024-12-11 19:06:59 -05:00
parent 8e5d22426f
commit 37a6180be8

View File

@ -384,6 +384,10 @@ void prolongate_serial(float * phi, int GRIDDIM, float * lowerPhi, int LOWERDIM)
* Prolongates a lower grid into a higher grid
*/
void prolongate_parallel(float * phi, int GRIDDIM, float * lowerPhi, int LOWERDIM){
if(LOWERDIM < 10){
prolongate_serial(phi,GRIDDIM,lowerPhi,LOWERDIM);
return;
}
__m256i offsets = _mm256_set_epi32(0, 0, 1, 1, 2, 2, 3, 3);
__m256 lowerPhiVec;
__m256 phiVec;