Use unique tmp file to allow parallel printf tests (#214)

Parallel printf tests fail because they use the same file /tmp/tmpfile
to capture OpenCL kernel outputs. This patch solves this problem by
using a unique file for each process.
1 file changed