Files
compute-runtime/shared/test/common/test_files/CopyBuffer_simd32.cl
Mateusz Jablonski c83828be6c Move compiler interface tests to shared tests
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-11-25 12:35:06 +01:00

17 lines
292 B
Common Lisp

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