summaryrefslogtreecommitdiff
path: root/generic/lib/math/fmax.cl
blob: 68a67acd34cca3ab7de0213542da25355581c154 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <clc/clc.h>

#ifdef cl_khr_fp64
#pragma OPENCL EXTENSION cl_khr_fp64 : enable
#endif

#define FUNCTION __clc_fmax
#define FUNCTION_IMPL(x, y) ((x) < (y) ? (y) : (x))

#define BODY <binary_impl.inc>
#include <clc/math/gentype.inc>