summaryrefslogtreecommitdiff
path: root/generic/lib/math/max.cl
diff options
context:
space:
mode:
Diffstat (limited to 'generic/lib/math/max.cl')
-rw-r--r--generic/lib/math/max.cl8
1 files changed, 8 insertions, 0 deletions
diff --git a/generic/lib/math/max.cl b/generic/lib/math/max.cl
new file mode 100644
index 0000000..d1254a7
--- /dev/null
+++ b/generic/lib/math/max.cl
@@ -0,0 +1,8 @@
+#include <clc/clc.h>
+
+#ifdef cl_khr_fp64
+#pragma OPENCL EXTENSION cl_khr_fp64 : enable
+#endif
+
+#define BODY <max.inc>
+#include <clc/math/gentype.inc>