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