compute-runtime/opencl/test/unit_test/test_files/copybuffer.cl

13 lines
273 B
Common Lisp

/*
* Copyright (C) 2018-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
__kernel void CopyBuffer(__global unsigned int *src, __global unsigned int *dst) {
int id = (int)get_global_id(0);
dst[id] = lgamma((float)src[id]);
dst[id] = src[id];
}