[libclc] 42/79: vstore_half: Make sure the helper function is always inline
Andreas Boll
aboll-guest at moszumanska.debian.org
Mon Mar 19 16:50:59 UTC 2018
This is an automated email from the git hooks/post-receive script.
aboll-guest pushed a commit to branch master
in repository libclc.
commit 1036c36f0db692b42d4524ac73262cf5345c0165
Author: Jan Vesely <jan.vesely at rutgers.edu>
Date: Tue Feb 6 18:44:35 2018 +0000
vstore_half: Make sure the helper function is always inline
Reviewer: Jeroen Ketema <j.ketema at xs4all.nl>
Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@324370 91177308-0d34-0410-b5e6-96231b3b80d8
---
generic/lib/shared/vstore.cl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/generic/lib/shared/vstore.cl b/generic/lib/shared/vstore.cl
index e5383a8..1346620 100644
--- a/generic/lib/shared/vstore.cl
+++ b/generic/lib/shared/vstore.cl
@@ -59,7 +59,7 @@ VSTORE_ADDR_SPACES(float)
#define DECLARE_HELPER(STYPE, AS, builtin) void __clc_vstore_half_##STYPE##_helper##AS(STYPE, AS half *);
#else
#define DECLARE_HELPER(STYPE, AS, __builtin) \
-inline void __clc_vstore_half_##STYPE##_helper##AS(STYPE s, AS half *d) \
+_CLC_DEF void __clc_vstore_half_##STYPE##_helper##AS(STYPE s, AS half *d) \
{ \
__builtin(s, d); \
}
--
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