Commit a0d74ca8 authored by Giovanni Lacopo's avatar Giovanni Lacopo
Browse files

modification for clang

parent 33cfe081
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -229,6 +229,7 @@ void phase_correction(double* gridss, double* image_real, double* image_imag, in
       #else

       #pragma omp target teams distribute parallel for collapse(3) private(wterm) map(to:gridss[0:2*num_w_planes*xaxis*yaxis]) map(from:image_real[0:xaxis*yaxis]) map(from:image_imag[0:xaxis*yaxis]) device(rank % omp_get_num_devices())
       #endif
	
	for (int iw=0; iw<num_w_planes; iw++)
	{