summaryrefslogtreecommitdiffstats
path: root/libclc/amdgpu/lib/image/get_image_depth.cl
diff options
context:
space:
mode:
Diffstat (limited to 'libclc/amdgpu/lib/image/get_image_depth.cl')
-rw-r--r--libclc/amdgpu/lib/image/get_image_depth.cl8
1 files changed, 8 insertions, 0 deletions
diff --git a/libclc/amdgpu/lib/image/get_image_depth.cl b/libclc/amdgpu/lib/image/get_image_depth.cl
new file mode 100644
index 00000000000..18646458e9a
--- /dev/null
+++ b/libclc/amdgpu/lib/image/get_image_depth.cl
@@ -0,0 +1,8 @@
+#include <clc/clc.h>
+
+_CLC_DECL int __clc_get_image_depth_3d(image3d_t);
+
+_CLC_OVERLOAD _CLC_DEF int
+get_image_depth(image3d_t image) {
+ return __clc_get_image_depth_3d(image);
+}
OpenPOWER on IntegriCloud