opencl: use OpenCL specific macro definitions for ppcg_min/ppcg_max
commit412b91eda19de5837b0a6c00273f7c1d600ee829
authorSven Verdoolaege <skimo@kotnet.org>
Fri, 5 Feb 2016 13:37:27 +0000 (5 14:37 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 15 Feb 2016 09:36:29 +0000 (15 10:36 +0100)
tree35f0254b89e1fdbc8061274b1e144f19c0c3a60d
parent3ca0d99640bd0062e418964a73dd677ca7745805
opencl: use OpenCL specific macro definitions for ppcg_min/ppcg_max

These macro definitions call the OpenCL versions of min/max.
This allows the OpenCL compiler the choose the most appropriate
implementation of min/max without having to reverse engineer
the min/max from the generated code.

Requested-by: Michael Kruse <MichaelKruse@meinersbur.de>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
opencl.c