2013-06-27 02:20:25 +08:00
|
|
|
#include <clc/clc.h>
|
|
|
|
|
|
|
|
#ifdef cl_khr_fp64
|
|
|
|
#pragma OPENCL EXTENSION cl_khr_fp64 : enable
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define FUNCTION __clc_fmin
|
|
|
|
#define FUNCTION_IMPL(x, y) ((y) < (x) ? (y) : (x))
|
|
|
|
|
2013-07-09 01:27:02 +08:00
|
|
|
#define __CLC_BODY <binary_impl.inc>
|
2013-06-27 02:20:25 +08:00
|
|
|
#include <clc/math/gentype.inc>
|