flood test on CUDA. Not working correctly. strange flickering