summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2012-08-16 13:52:57 +0000
committerTom Stellard <thomas.stellard@amd.com>2012-08-16 13:52:57 +0000
commitc9546364e85db64b167d798f07077b84c4b67215 (patch)
treecb641674585544259bc15a6075220b1aaffc934b
parent57f1cd015e270e3979c476440e9e5ac2d363c7d5 (diff)
Remove address_space attribute from hello_world
-rw-r--r--hello_world.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hello_world.c b/hello_world.c
index 8d88ee9..b1b12be 100644
--- a/hello_world.c
+++ b/hello_world.c
@@ -3,9 +3,10 @@
#include <CL/cl.h>
+#include "cl_util.h"
+
const char * program_src =
-"#define __global __attribute__((address_space(1)))\n"
"__kernel\n"
"void pi(__global float * out) \n"
"{\n"