mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-20 13:11:34 +08:00
Reorganization directory structure [2/n]
Change-Id: I47962d17d755e80dcd9476e1ed75560f433f6115
This commit is contained in:

committed by
Jaroslaw Chodor

parent
d015d3633f
commit
e8852a68c4
16
opencl/test/unit_test/test_files/CopyBuffer_simd16.cl
Normal file
16
opencl/test/unit_test/test_files/CopyBuffer_simd16.cl
Normal file
@ -0,0 +1,16 @@
|
||||
/*
|
||||
* Copyright (C) 2017-2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
__attribute__((intel_reqd_sub_group_size(16)))
|
||||
__kernel void
|
||||
CopyBuffer(
|
||||
__global unsigned int* src,
|
||||
__global unsigned int* dst )
|
||||
{
|
||||
int id = (int)get_global_id(0);
|
||||
dst[id] = src[id];
|
||||
}
|
Reference in New Issue
Block a user