forked from OSchip/llvm-project
Let get_work_dim take exactly 0 arguments
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu> llvm-svn: 314634
This commit is contained in:
parent
17fdf263c5
commit
fe9fa89854
|
@ -1,6 +1,6 @@
|
||||||
#include <clc/clc.h>
|
#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 * ptr =
|
||||||
(__attribute__((address_space(2))) uint *)
|
(__attribute__((address_space(2))) uint *)
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
_CLC_DECL uint get_work_dim();
|
_CLC_DECL uint get_work_dim(void);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#include <clc/clc.h>
|
#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 * ptr =
|
||||||
(__attribute__((address_space(7))) uint *)
|
(__attribute__((address_space(7))) uint *)
|
||||||
|
|
Loading…
Reference in New Issue