/* * Copyright (C) 2018-2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ R"===( __kernel void CopyImageToImage1d( __read_only image1d_t input, __write_only image1d_t output, int4 srcOffset, int4 dstOffset) { const int x = get_global_id(0); const int srcCoord = x + srcOffset.x; const int dstCoord = x + dstOffset.x; const uint4 c = read_imageui(input, srcCoord); write_imageui(output, dstCoord, c); } )==="