Could you use a static input (e.g. all ones) and compare the output on both platforms? If these results are equal, I would guess that the image loading (decoding) and processing might differ between the approaches.