[libclc] 19/291: Fix declarations of __clc_add_sat_*. Patch by Lei Mou!

Andreas Beckmann anbe at moszumanska.debian.org
Tue Sep 8 10:53:28 UTC 2015


This is an automated email from the git hooks/post-receive script.

anbe pushed a commit to branch master
in repository libclc.

commit 05edc47f68b94fb1fc6a6e6f2a5baabb2abd9b59
Author: Peter Collingbourne <peter at pcc.me.uk>
Date:   Sun Aug 5 22:24:36 2012 +0000

    Fix declarations of __clc_add_sat_*.  Patch by Lei Mou!
    
    git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@161311 91177308-0d34-0410-b5e6-96231b3b80d8
---
 generic/lib/integer/add_sat.cl | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/generic/lib/integer/add_sat.cl b/generic/lib/integer/add_sat.cl
index aae2e7f..7eb4e39 100644
--- a/generic/lib/integer/add_sat.cl
+++ b/generic/lib/integer/add_sat.cl
@@ -1,14 +1,14 @@
 #include <clc/clc.h>
 
 // From add_sat.ll
-_CLC_DECL char __clc_add_sat_s8(char, char);
-_CLC_DECL char __clc_add_sat_u8(uchar, uchar);
-_CLC_DECL char __clc_add_sat_s16(short, short);
-_CLC_DECL char __clc_add_sat_u16(ushort, ushort);
-_CLC_DECL char __clc_add_sat_s32(int, int);
-_CLC_DECL char __clc_add_sat_u32(uint, uint);
-_CLC_DECL char __clc_add_sat_s64(long, long);
-_CLC_DECL char __clc_add_sat_u64(ulong, ulong);
+_CLC_DECL char   __clc_add_sat_s8(char, char);
+_CLC_DECL uchar  __clc_add_sat_u8(uchar, uchar);
+_CLC_DECL short  __clc_add_sat_s16(short, short);
+_CLC_DECL ushort __clc_add_sat_u16(ushort, ushort);
+_CLC_DECL int    __clc_add_sat_s32(int, int);
+_CLC_DECL uint   __clc_add_sat_u32(uint, uint);
+_CLC_DECL long   __clc_add_sat_s64(long, long);
+_CLC_DECL ulong  __clc_add_sat_u64(ulong, ulong);
 
 _CLC_OVERLOAD _CLC_DEF char add_sat(char x, char y) {
   return __clc_add_sat_s8(x, y);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/libclc.git



More information about the Pkg-opencl-commits mailing list