[libclc] r314634 - Let get_work_dim take exactly 0 arguments
Jeroen Ketema via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 1 13:11:47 PDT 2017
Author: jketema
Date: Sun Oct 1 13:11:46 2017
New Revision: 314634
URL: http://llvm.org/viewvc/llvm-project?rev=314634&view=rev
Log:
Let get_work_dim take exactly 0 arguments
Reviewed-by: Jan Vesely <jan.vesely at rutgers.edu>
Modified:
libclc/trunk/amdgcn/lib/workitem/get_work_dim.cl
libclc/trunk/generic/include/clc/workitem/get_work_dim.h
libclc/trunk/r600/lib/workitem/get_work_dim.cl
Modified: libclc/trunk/amdgcn/lib/workitem/get_work_dim.cl
URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/amdgcn/lib/workitem/get_work_dim.cl?rev=314634&r1=314633&r2=314634&view=diff
==============================================================================
--- libclc/trunk/amdgcn/lib/workitem/get_work_dim.cl (original)
+++ libclc/trunk/amdgcn/lib/workitem/get_work_dim.cl Sun Oct 1 13:11:46 2017
@@ -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 *)
Modified: libclc/trunk/generic/include/clc/workitem/get_work_dim.h
URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/generic/include/clc/workitem/get_work_dim.h?rev=314634&r1=314633&r2=314634&view=diff
==============================================================================
--- libclc/trunk/generic/include/clc/workitem/get_work_dim.h (original)
+++ libclc/trunk/generic/include/clc/workitem/get_work_dim.h Sun Oct 1 13:11:46 2017
@@ -1 +1 @@
-_CLC_DECL uint get_work_dim();
+_CLC_DECL uint get_work_dim(void);
Modified: libclc/trunk/r600/lib/workitem/get_work_dim.cl
URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/r600/lib/workitem/get_work_dim.cl?rev=314634&r1=314633&r2=314634&view=diff
==============================================================================
--- libclc/trunk/r600/lib/workitem/get_work_dim.cl (original)
+++ libclc/trunk/r600/lib/workitem/get_work_dim.cl Sun Oct 1 13:11:46 2017
@@ -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 *)
More information about the cfe-commits
mailing list