Let get_work_dim take exactly 0 arguments

Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 314634
This commit is contained in:
Jeroen Ketema 2017-10-01 20:11:46 +00:00
parent 17fdf263c5
commit fe9fa89854
3 changed files with 3 additions and 3 deletions

View File

@ -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 *)

View File

@ -1 +1 @@
_CLC_DECL uint get_work_dim();
_CLC_DECL uint get_work_dim(void);

View File

@ -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 *)