1 //---------------------------------------------------------------------------//
2 // Copyright (c) 2017 Jakub Szuppe <j.szuppe@gmail.com>
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
8 // See http://boostorg.github.com/compute for more information.
9 //---------------------------------------------------------------------------//
11 __kernel void foobar(__global int* x)
13 const int gid = get_global_id(0);