[libclc] 32/92: Let get_work_dim take exactly 0 arguments
Andreas Boll
aboll-guest at moszumanska.debian.org
Mon Nov 6 15:11:58 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 d36efd2d2271f95471fb8d4c3c5c22f43d314f96
Author: Jeroen Ketema <j.ketema at xs4all.nl>
Date: Sun Oct 1 20:11:46 2017 +0000
Let get_work_dim take exactly 0 arguments
Reviewed-by: Jan Vesely <jan.vesely at rutgers.edu>
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@314634 91177308-0d34-0410-b5e6-96231b3b80d8
---
amdgcn/lib/workitem/get_work_dim.cl | 2 +-
generic/include/clc/workitem/get_work_dim.h | 2 +-
r600/lib/workitem/get_work_dim.cl | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/amdgcn/lib/workitem/get_work_dim.cl b/amdgcn/lib/workitem/get_work_dim.cl
index dd2c64f..8d8a30c 100644
--- a/amdgcn/lib/workitem/get_work_dim.cl
+++ b/amdgcn/lib/workitem/get_work_dim.cl
@@ -1,6 +1,6 @@
#include <clc/clc.h>
-_CLC_DEF uint get_work_dim()
+_CLC_DEF uint get_work_dim(void)
{
__attribute__((address_space(2))) uint * ptr =
(__attribute__((address_space(2))) uint *)
diff --git a/generic/include/clc/workitem/get_work_dim.h b/generic/include/clc/workitem/get_work_dim.h
index 6d19825..ae08ba9 100644
--- a/generic/include/clc/workitem/get_work_dim.h
+++ b/generic/include/clc/workitem/get_work_dim.h
@@ -1 +1 @@
-_CLC_DECL uint get_work_dim();
+_CLC_DECL uint get_work_dim(void);
diff --git a/r600/lib/workitem/get_work_dim.cl b/r600/lib/workitem/get_work_dim.cl
index 826a655..fccf716 100644
--- a/r600/lib/workitem/get_work_dim.cl
+++ b/r600/lib/workitem/get_work_dim.cl
@@ -1,6 +1,6 @@
#include <clc/clc.h>
-_CLC_DEF uint get_work_dim()
+_CLC_DEF uint get_work_dim(void)
{
__attribute__((address_space(7))) uint * ptr =
(__attribute__((address_space(7))) uint *)
--
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