parallel prolongation reversion to serial
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
This commit is contained in:
parent
8e5d22426f
commit
37a6180be8
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user