[libclc] 16/21: Add the correct prefixes to the cl_khr_fp64 pragma

Andreas Boll aboll-guest at moszumanska.debian.org
Mon Feb 13 13:58:31 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 b4cb4557b8ab1c9d473478ac8a2fd27fe49cc936
Author: Jeroen Ketema <j.ketema at imperial.ac.uk>
Date:   Sun Feb 12 21:31:41 2017 +0000

    Add the correct prefixes to the cl_khr_fp64 pragma
    
    
    git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@294915 91177308-0d34-0410-b5e6-96231b3b80d8
---
 generic/include/clc/shared/vstore.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/generic/include/clc/shared/vstore.h b/generic/include/clc/shared/vstore.h
index ea8d4cf..b450491 100644
--- a/generic/include/clc/shared/vstore.h
+++ b/generic/include/clc/shared/vstore.h
@@ -29,7 +29,7 @@
     _CLC_VECTOR_VSTORE_PRIM3(_half, half, float)
 
 #ifdef cl_khr_fp64
-#pragma cl_khr_fp64: enable
+#pragma OPENCL EXTENSION cl_khr_fp64: enable
   _CLC_VECTOR_VSTORE_PRIM1(double)
   _CLC_VECTOR_VSTORE_PRIM3(_half, half, double)
   _CLC_VSTORE_DECL(_half, half, double, , __private)

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