ufo-kit / ufo-core

GLib-based framework for GPU-based data processing
GNU Lesser General Public License v3.0
24 stars 8 forks source link

Multi-GPU sync problem #187

Open tfarago opened 2 years ago

tfarago commented 2 years ago
ufo-launch -q [read path=$DSET_PATH/slices-abs.tif ! calculate expression="'v * 42500.0 + 85.0'", read path=$DSET_PATH/slices-pr.tif !  calculate expression="'v * 1593750000.0 + -71.71875'"] ! opencl kernel=add dimensions=2 ! calculate expression="'clamp(v / 2, 0.0f, 255.0f)'" ! write filename=$DSET_PATH/slices-blend-8-bit-2.tif bits=8 rescale=False bytes-per-file=1000000000000 tiff-bigtiff=True

gives output where e.g. image N+10 = image N, random on multiple invocations, doesn't happen with restriction to one GPU.