Hi Andy,
please, find attached the ported code to imx6q sabresd board on Linux (yocto 3.10.53), also here are the results:
----------------------------------------------------------
root@imx6qsabresd:/home/fp_precision_test# ./reduce
----------------------------------------------------------------------
Connecting to Vivante Corporation Vivante OpenCL Device...
----------------------------------------------------------------------
Loading program 'reduce_int_kernel.cl'...
----------------------------------------------------------------------
Pass[ 0] Global[4096] Local[ 64] Groups[ 64] WorkItems[ 64] Operations[1] E]
Pass[ 1] Global[ 32] Local[ 32] Groups[ 1] WorkItems[ 32] Operations[1] E]
----------------------------------------------------------------------
Timing 1000 iterations of reduction with 1048576 elements of type int ...
----------------------------------------------------------------------
----------------------------------------------------------------------
Results Validated!
----------------------------------------------------------------------
root@imx6qsabresd:/home/fp_precision_test#
----------------------------------------------------------
Regards,
Andre