summaryrefslogtreecommitdiff
path: root/generic/include
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
commit0404dcc845c9a45f0315f2ef85dea3a720351f67 (patch)
treeec191f7a2cbcfe2fe4e9cc7eb026d0e7e78b6780 /generic/include
parent6af470663c821d5fc88798792aa2b9c84f636d6b (diff)
PTX: move implementations of work-item and synchronisation functions
to lib, and add header files in generic. Incorporates a patch by Tom Stellard! git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@184979 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'generic/include')
-rw-r--r--generic/include/clc/workitem/get_global_id.h2
-rw-r--r--generic/include/clc/workitem/get_global_size.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/generic/include/clc/workitem/get_global_id.h b/generic/include/clc/workitem/get_global_id.h
index b61450f..92759f1 100644
--- a/generic/include/clc/workitem/get_global_id.h
+++ b/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/generic/include/clc/workitem/get_global_size.h b/generic/include/clc/workitem/get_global_size.h
index 8d7b9a1..2f83705 100644
--- a/generic/include/clc/workitem/get_global_size.h
+++ b/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);