Debian Codegraph @

libclc/opencl/lib/r600/image/get_image_height.cl

raw
1 //===----------------------------------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8
9 #include <clc/opencl/opencl-base.h>
10
11 _CLC_DECL int __clc_get_image_height_2d(image2d_t);
12 _CLC_DECL int __clc_get_image_height_3d(image3d_t);
13
14 _CLC_OVERLOAD _CLC_DEF int get_image_height(image2d_t image) {
15 return __clc_get_image_height_2d(image);
16 }
17 _CLC_OVERLOAD _CLC_DEF int get_image_height(image3d_t image) {
18 return __clc_get_image_height_3d(image);
19 }