summaryrefslogtreecommitdiff
path: root/amdgpu/lib/image/get_image_depth.cl
diff options
context:
space:
mode:
Diffstat (limited to 'amdgpu/lib/image/get_image_depth.cl')
-rw-r--r--amdgpu/lib/image/get_image_depth.cl8
1 files changed, 8 insertions, 0 deletions
diff --git a/amdgpu/lib/image/get_image_depth.cl b/amdgpu/lib/image/get_image_depth.cl
new file mode 100644
index 0000000..1864645
--- /dev/null
+++ b/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);
+}