feature: add FillImage1dBuffer built-in kernel

Resolves: NEO-13984, HSD-18041422852

Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
This commit is contained in:
Igor Venevtsev
2025-04-10 12:25:54 +00:00
committed by Compute-Runtime-Automation
parent ff7bfc8b6e
commit ef52479ce4
19 changed files with 1123 additions and 937 deletions

View File

@@ -0,0 +1,18 @@
/*
* Copyright (C) 2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
R"===(
__kernel void FillImage1dBuffer(
__write_only image1d_buffer_t output,
uint4 color,
int4 dstOffset) {
const int x = get_global_id(0);
const int dstCoord = x + dstOffset.x;
write_imageui(output, dstCoord, color);
}
)==="