]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/compute/test/data/program.cl
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / compute / test / data / program.cl
1 //---------------------------------------------------------------------------//
2 // Copyright (c) 2017 Jakub Szuppe <j.szuppe@gmail.com>
3 //
4 // Distributed under the Boost Software License, Version 1.0
5 // See accompanying file LICENSE_1_0.txt or copy at
6 // http://www.boost.org/LICENSE_1_0.txt
7 //
8 // See http://boostorg.github.com/compute for more information.
9 //---------------------------------------------------------------------------//
10
11 __kernel void foobar(__global int* x)
12 {
13 const int gid = get_global_id(0);
14 x[gid] = gid;
15 }