17 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 void __clc_write_imagef_2d(image2d_t image, int2 coord, float4 color);12 13_CLC_OVERLOAD _CLC_DEF void write_imagef(image2d_t image, int2 coord,14 float4 color) {15 __clc_write_imagef_2d(image, coord, color);16}17