[libclc] 49/92: Make image builtins r600/llvm-3.9 only
Andreas Boll
aboll-guest at moszumanska.debian.org
Mon Nov 6 15:12:00 UTC 2017
This is an automated email from the git hooks/post-receive script.
aboll-guest pushed a commit to branch master
in repository libclc.
commit b9687f1a82f5124a1938e0f37467b0f25b511cd1
Author: Jan Vesely <jan.vesely at rutgers.edu>
Date: Tue Oct 10 18:10:21 2017 +0000
Make image builtins r600/llvm-3.9 only
The implementation uses r600 sepcific intrinsics
LLVM-4 switched to _ro_t and _rw_t image types
Portions of the code can be moved back as more targets/llvm versions add image support
Reviewer: Aaron Watry
Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@315341 91177308-0d34-0410-b5e6-96231b3b80d8
---
amdgpu/lib/SOURCES | 14 --------------
generic/lib/SOURCES | 1 -
amdgpu/lib/SOURCES => r600/lib/SOURCES_3.9 | 3 +--
{amdgpu => r600}/lib/image/get_image_attributes_impl.ll | 0
{amdgpu => r600}/lib/image/get_image_channel_data_type.cl | 0
{amdgpu => r600}/lib/image/get_image_channel_order.cl | 0
{amdgpu => r600}/lib/image/get_image_depth.cl | 0
{generic => r600}/lib/image/get_image_dim.cl | 0
{amdgpu => r600}/lib/image/get_image_height.cl | 0
{amdgpu => r600}/lib/image/get_image_width.cl | 0
{amdgpu => r600}/lib/image/read_image_impl.ll | 0
{amdgpu => r600}/lib/image/read_imagef.cl | 0
{amdgpu => r600}/lib/image/read_imagei.cl | 0
{amdgpu => r600}/lib/image/read_imageui.cl | 0
{amdgpu => r600}/lib/image/write_image_impl.ll | 0
{amdgpu => r600}/lib/image/write_imagef.cl | 0
{amdgpu => r600}/lib/image/write_imagei.cl | 0
{amdgpu => r600}/lib/image/write_imageui.cl | 0
18 files changed, 1 insertion(+), 17 deletions(-)
diff --git a/amdgpu/lib/SOURCES b/amdgpu/lib/SOURCES
index 4414621..ce5fe66 100644
--- a/amdgpu/lib/SOURCES
+++ b/amdgpu/lib/SOURCES
@@ -1,16 +1,2 @@
math/nextafter.cl
math/sqrt.cl
-image/get_image_width.cl
-image/get_image_height.cl
-image/get_image_depth.cl
-image/get_image_channel_data_type.cl
-image/get_image_channel_order.cl
-image/get_image_attributes_impl.ll
-image/read_imagef.cl
-image/read_imagei.cl
-image/read_imageui.cl
-image/read_image_impl.ll
-image/write_imagef.cl
-image/write_imagei.cl
-image/write_imageui.cl
-image/write_image_impl.ll
diff --git a/generic/lib/SOURCES b/generic/lib/SOURCES
index 6457c25..ededcdb 100644
--- a/generic/lib/SOURCES
+++ b/generic/lib/SOURCES
@@ -161,4 +161,3 @@ shared/vload.cl
shared/vstore.cl
workitem/get_global_id.cl
workitem/get_global_size.cl
-image/get_image_dim.cl
diff --git a/amdgpu/lib/SOURCES b/r600/lib/SOURCES_3.9
similarity index 92%
copy from amdgpu/lib/SOURCES
copy to r600/lib/SOURCES_3.9
index 4414621..a44a9ce 100644
--- a/amdgpu/lib/SOURCES
+++ b/r600/lib/SOURCES_3.9
@@ -1,5 +1,4 @@
-math/nextafter.cl
-math/sqrt.cl
+image/get_image_dim.cl
image/get_image_width.cl
image/get_image_height.cl
image/get_image_depth.cl
diff --git a/amdgpu/lib/image/get_image_attributes_impl.ll b/r600/lib/image/get_image_attributes_impl.ll
similarity index 100%
rename from amdgpu/lib/image/get_image_attributes_impl.ll
rename to r600/lib/image/get_image_attributes_impl.ll
diff --git a/amdgpu/lib/image/get_image_channel_data_type.cl b/r600/lib/image/get_image_channel_data_type.cl
similarity index 100%
rename from amdgpu/lib/image/get_image_channel_data_type.cl
rename to r600/lib/image/get_image_channel_data_type.cl
diff --git a/amdgpu/lib/image/get_image_channel_order.cl b/r600/lib/image/get_image_channel_order.cl
similarity index 100%
rename from amdgpu/lib/image/get_image_channel_order.cl
rename to r600/lib/image/get_image_channel_order.cl
diff --git a/amdgpu/lib/image/get_image_depth.cl b/r600/lib/image/get_image_depth.cl
similarity index 100%
rename from amdgpu/lib/image/get_image_depth.cl
rename to r600/lib/image/get_image_depth.cl
diff --git a/generic/lib/image/get_image_dim.cl b/r600/lib/image/get_image_dim.cl
similarity index 100%
rename from generic/lib/image/get_image_dim.cl
rename to r600/lib/image/get_image_dim.cl
diff --git a/amdgpu/lib/image/get_image_height.cl b/r600/lib/image/get_image_height.cl
similarity index 100%
rename from amdgpu/lib/image/get_image_height.cl
rename to r600/lib/image/get_image_height.cl
diff --git a/amdgpu/lib/image/get_image_width.cl b/r600/lib/image/get_image_width.cl
similarity index 100%
rename from amdgpu/lib/image/get_image_width.cl
rename to r600/lib/image/get_image_width.cl
diff --git a/amdgpu/lib/image/read_image_impl.ll b/r600/lib/image/read_image_impl.ll
similarity index 100%
rename from amdgpu/lib/image/read_image_impl.ll
rename to r600/lib/image/read_image_impl.ll
diff --git a/amdgpu/lib/image/read_imagef.cl b/r600/lib/image/read_imagef.cl
similarity index 100%
rename from amdgpu/lib/image/read_imagef.cl
rename to r600/lib/image/read_imagef.cl
diff --git a/amdgpu/lib/image/read_imagei.cl b/r600/lib/image/read_imagei.cl
similarity index 100%
rename from amdgpu/lib/image/read_imagei.cl
rename to r600/lib/image/read_imagei.cl
diff --git a/amdgpu/lib/image/read_imageui.cl b/r600/lib/image/read_imageui.cl
similarity index 100%
rename from amdgpu/lib/image/read_imageui.cl
rename to r600/lib/image/read_imageui.cl
diff --git a/amdgpu/lib/image/write_image_impl.ll b/r600/lib/image/write_image_impl.ll
similarity index 100%
rename from amdgpu/lib/image/write_image_impl.ll
rename to r600/lib/image/write_image_impl.ll
diff --git a/amdgpu/lib/image/write_imagef.cl b/r600/lib/image/write_imagef.cl
similarity index 100%
rename from amdgpu/lib/image/write_imagef.cl
rename to r600/lib/image/write_imagef.cl
diff --git a/amdgpu/lib/image/write_imagei.cl b/r600/lib/image/write_imagei.cl
similarity index 100%
rename from amdgpu/lib/image/write_imagei.cl
rename to r600/lib/image/write_imagei.cl
diff --git a/amdgpu/lib/image/write_imageui.cl b/r600/lib/image/write_imageui.cl
similarity index 100%
rename from amdgpu/lib/image/write_imageui.cl
rename to r600/lib/image/write_imageui.cl
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/libclc.git
More information about the Pkg-opencl-commits
mailing list