summaryrefslogtreecommitdiff
path: root/kernels/compiler_write_only_shorts.cl
blob: 205634d856778bb1c1a800f9e76200197ba7c656 (plain)
1
2
3
4
5
6
__kernel void
compiler_write_only_shorts(__global short *dst)
{
    int id = (int)get_global_id(0);
    dst[id] = 2;
}