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

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];
}