brintos

brintos / llvm-project-archived public Read only

0
0
Text · 728 B · 14a2182 Raw
20 lines · plain
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-exception6//7//===----------------------------------------------------------------------===//8 9#include <clc/opencl/image/image.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}20