diff --git a/pyebsdindex/opencl/nlpar_cl.py b/pyebsdindex/opencl/nlpar_cl.py index a3df8a9..061fb0d 100644 --- a/pyebsdindex/opencl/nlpar_cl.py +++ b/pyebsdindex/opencl/nlpar_cl.py @@ -225,7 +225,7 @@ def calcsigma_cl(self,nn=1,saturation_protect=True,automask=True, normalize_d=Fa dist_local, count_local, np.int64(nn), np.int64(npatsteps), np.int64(npat_point), np.float32(mxval) ) - + cl.enqueue_barrier(queue) prg.normd(queue, (np.uint32(ncolchunk), np.uint32(nrowchunk)), None, sigmachunk_gpu, count_local, dist_local,