summaryrefslogtreecommitdiffstats
path: root/libclc
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2013-06-26 18:19:54 +0000
committerTom Stellard <thomas.stellard@amd.com>2013-06-26 18:19:54 +0000
commit10b6c22e8d304a51ffb3789be22ab82811ddd91a (patch)
tree37e656db288d5b8294eb875b6da3fcfbd4c7fc67 /libclc
parent9d804dae355415952f7a9a845f80796f1b280578 (diff)
downloadbcm5719-llvm-10b6c22e8d304a51ffb3789be22ab82811ddd91a.tar.gz
bcm5719-llvm-10b6c22e8d304a51ffb3789be22ab82811ddd91a.zip
PTX: move implementations of work-item and synchronisation functions
to lib, and add header files in generic. Incorporates a patch by Tom Stellard! llvm-svn: 184979
Diffstat (limited to 'libclc')
-rw-r--r--libclc/generic/include/clc/workitem/get_global_id.h2
-rw-r--r--libclc/generic/include/clc/workitem/get_global_size.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libclc/generic/include/clc/workitem/get_global_id.h b/libclc/generic/include/clc/workitem/get_global_id.h
index b61450f6fc8..92759f14689 100644
--- a/libclc/generic/include/clc/workitem/get_global_id.h
+++ b/libclc/generic/include/clc/workitem/get_global_id.h
@@ -1 +1 @@
-size_t get_global_id(uint dim);
+_CLC_DECL size_t get_global_id(uint dim);
diff --git a/libclc/generic/include/clc/workitem/get_global_size.h b/libclc/generic/include/clc/workitem/get_global_size.h
index 8d7b9a1d581..2f837058539 100644
--- a/libclc/generic/include/clc/workitem/get_global_size.h
+++ b/libclc/generic/include/clc/workitem/get_global_size.h
@@ -1 +1 @@
-size_t get_global_size(uint dim);
+_CLC_DECL size_t get_global_size(uint dim);
OpenPOWER on IntegriCloud