summaryrefslogtreecommitdiff
path: root/src/kernels/cl_internal_fill_buf_align2.cl
blob: 0b9a4cfdc97a1812f0d23bd8d4647a552b3b568f (plain)
1
2
3
4
5
6
7
8
kernel void __cl_fill_region_align2 ( global char2 * dst, char2 pattern,
			             unsigned int offset, unsigned int size)
{
    int i = get_global_id(0);
    if (i < size) {
        dst[i+offset] = pattern;
    }
}