From ec87fb0b0c4c66edbec96e810ba4fd302dbaf50d Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Wed, 26 Jun 2013 18:20:46 +0000 Subject: libclc: Add max() builtin function Adds this function for both int and floating data types. Patch by: Aaron Watry llvm-svn: 184992 --- libclc/generic/lib/SOURCES | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libclc/generic/lib/SOURCES') diff --git a/libclc/generic/lib/SOURCES b/libclc/generic/lib/SOURCES index 86c008b026f..b593941e85a 100644 --- a/libclc/generic/lib/SOURCES +++ b/libclc/generic/lib/SOURCES @@ -7,6 +7,7 @@ integer/abs.cl integer/add_sat.cl integer/add_sat.ll integer/add_sat_impl.ll +integer/max.cl integer/sub_sat.cl integer/sub_sat.ll integer/sub_sat_impl.ll @@ -14,6 +15,7 @@ math/fmax.cl math/fmin.cl math/hypot.cl math/mad.cl +math/max.cl relational/any.cl workitem/get_global_id.cl workitem/get_global_size.cl -- cgit v1.2.3