summaryrefslogtreecommitdiff
path: root/kernels/compiler_insert_to_constant.cl
blob: f94c5c30dc816c69caacc0ffd5ff836a08797ea7 (plain)
1
2
3
4
5
6
__kernel void compiler_insert_to_constant(__global int4 *dst) {
  int4 value = (int4)(0,1,2,3);
  value.z = get_global_id(0);
  dst[get_global_id(0)] = value;
}