[libclc] 41/92: math/binary_decl.inc: Do not declare mixed float/double functions

Andreas Boll aboll-guest at moszumanska.debian.org
Mon Nov 6 15:11:59 UTC 2017


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

aboll-guest pushed a commit to branch master
in repository libclc.

commit a618e78b5df832f995eaa60619f472f77f379f6d
Author: Jan Vesely <jan.vesely at rutgers.edu>
Date:   Sun Oct 8 19:33:53 2017 +0000

    math/binary_decl.inc: Do not declare mixed float/double functions
    
    fmin/fmax only need vector/scalar mix
    
    Reviewer: Jeroen Ketema
    Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
    
    git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@315188 91177308-0d34-0410-b5e6-96231b3b80d8
---
 generic/include/clc/math/binary_decl.inc | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/generic/include/clc/math/binary_decl.inc b/generic/include/clc/math/binary_decl.inc
index 70a7114..41f07c3 100644
--- a/generic/include/clc/math/binary_decl.inc
+++ b/generic/include/clc/math/binary_decl.inc
@@ -1,6 +1,2 @@
 _CLC_OVERLOAD _CLC_DECL __CLC_GENTYPE __CLC_FUNCTION(__CLC_GENTYPE a, __CLC_GENTYPE b);
-_CLC_OVERLOAD _CLC_DECL __CLC_GENTYPE __CLC_FUNCTION(__CLC_GENTYPE a, float b);
-
-#ifdef cl_khr_fp64
-_CLC_OVERLOAD _CLC_DECL __CLC_GENTYPE __CLC_FUNCTION(__CLC_GENTYPE a, double b);
-#endif
+_CLC_OVERLOAD _CLC_DECL __CLC_GENTYPE __CLC_FUNCTION(__CLC_GENTYPE a, __CLC_SCALAR_GENTYPE b);

-- 
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