summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2012-06-01 08:58:38 -0400
committerTom Stellard <thomas.stellard@amd.com>2012-06-01 09:03:20 -0400
commit8d5aecaa134636fdbf058fe6272e97d6ca31bcb0 (patch)
tree33f1548fdc5c70489a3c286da2837150f5145c0a
parentdfe199f89dbfe58f058ed254db9e591c9b29bf03 (diff)
Move R600 headers into generic directory
-rw-r--r--generic/include/clc/synchronization/barrier.h1
-rw-r--r--generic/include/clc/workitem/get_global_id.h (renamed from r600/include/clc/workitem/get_global_id.h)0
-rw-r--r--generic/include/clc/workitem/get_global_size.h (renamed from r600/include/clc/workitem/get_global_size.h)0
-rw-r--r--generic/include/clc/workitem/get_group_id.h1
-rw-r--r--generic/include/clc/workitem/get_local_id.h1
-rw-r--r--generic/include/clc/workitem/get_local_size.h1
-rw-r--r--generic/include/clc/workitem/get_num_groups.h1
-rw-r--r--r600/include/clc/synchronization/barrier.h2
-rw-r--r--r600/include/clc/workitem/get_group_id.h3
-rw-r--r--r600/include/clc/workitem/get_local_id.h3
-rw-r--r--r600/include/clc/workitem/get_local_size.h3
-rw-r--r--r600/include/clc/workitem/get_num_groups.h3
12 files changed, 5 insertions, 14 deletions
diff --git a/generic/include/clc/synchronization/barrier.h b/generic/include/clc/synchronization/barrier.h
new file mode 100644
index 0000000..9ef2360
--- /dev/null
+++ b/generic/include/clc/synchronization/barrier.h
@@ -0,0 +1 @@
+void barrier(cl_mem_fence_flags flags);
diff --git a/r600/include/clc/workitem/get_global_id.h b/generic/include/clc/workitem/get_global_id.h
index b61450f..b61450f 100644
--- a/r600/include/clc/workitem/get_global_id.h
+++ b/generic/include/clc/workitem/get_global_id.h
diff --git a/r600/include/clc/workitem/get_global_size.h b/generic/include/clc/workitem/get_global_size.h
index 8d7b9a1..8d7b9a1 100644
--- a/r600/include/clc/workitem/get_global_size.h
+++ b/generic/include/clc/workitem/get_global_size.h
diff --git a/generic/include/clc/workitem/get_group_id.h b/generic/include/clc/workitem/get_group_id.h
new file mode 100644
index 0000000..3d904b9
--- /dev/null
+++ b/generic/include/clc/workitem/get_group_id.h
@@ -0,0 +1 @@
+size_t get_group_id(uint dim);
diff --git a/generic/include/clc/workitem/get_local_id.h b/generic/include/clc/workitem/get_local_id.h
new file mode 100644
index 0000000..f584fab
--- /dev/null
+++ b/generic/include/clc/workitem/get_local_id.h
@@ -0,0 +1 @@
+size_t get_local_id(uint dim);
diff --git a/generic/include/clc/workitem/get_local_size.h b/generic/include/clc/workitem/get_local_size.h
new file mode 100644
index 0000000..22a96aa
--- /dev/null
+++ b/generic/include/clc/workitem/get_local_size.h
@@ -0,0 +1 @@
+size_t get_local_size(uint dim);
diff --git a/generic/include/clc/workitem/get_num_groups.h b/generic/include/clc/workitem/get_num_groups.h
new file mode 100644
index 0000000..b9baad6
--- /dev/null
+++ b/generic/include/clc/workitem/get_num_groups.h
@@ -0,0 +1 @@
+size_t get_num_groups(uint dim);
diff --git a/r600/include/clc/synchronization/barrier.h b/r600/include/clc/synchronization/barrier.h
deleted file mode 100644
index 7f150d4..0000000
--- a/r600/include/clc/synchronization/barrier.h
+++ /dev/null
@@ -1,2 +0,0 @@
-_CLC_INLINE void barrier(cl_mem_fence_flags flags) {
-}
diff --git a/r600/include/clc/workitem/get_group_id.h b/r600/include/clc/workitem/get_group_id.h
deleted file mode 100644
index 6862dba..0000000
--- a/r600/include/clc/workitem/get_group_id.h
+++ /dev/null
@@ -1,3 +0,0 @@
-_CLC_INLINE size_t get_group_id(uint dim) {
- return 0;
-}
diff --git a/r600/include/clc/workitem/get_local_id.h b/r600/include/clc/workitem/get_local_id.h
deleted file mode 100644
index 22749cd..0000000
--- a/r600/include/clc/workitem/get_local_id.h
+++ /dev/null
@@ -1,3 +0,0 @@
-_CLC_INLINE size_t get_local_id(uint dim) {
- return 0;
-}
diff --git a/r600/include/clc/workitem/get_local_size.h b/r600/include/clc/workitem/get_local_size.h
deleted file mode 100644
index 51d9762..0000000
--- a/r600/include/clc/workitem/get_local_size.h
+++ /dev/null
@@ -1,3 +0,0 @@
-_CLC_INLINE size_t get_local_size(uint dim) {
- return 0;
-}
diff --git a/r600/include/clc/workitem/get_num_groups.h b/r600/include/clc/workitem/get_num_groups.h
deleted file mode 100644
index fe1f343..0000000
--- a/r600/include/clc/workitem/get_num_groups.h
+++ /dev/null
@@ -1,3 +0,0 @@
-_CLC_INLINE size_t get_num_groups(uint dim) {
- return 0;
-}