summaryrefslogtreecommitdiff
path: root/kernels/compiler_volatile.cl
blob: 84f7228471e7937f3f5375458a61c89cda227c5a (plain)
1
2
3
4
__kernel void compiler_volatile(__global int *dst, __local volatile int *hop) {
  hop[get_global_id(0)] = get_local_id(1);
  dst[get_global_id(0)] = hop[get_local_id(0)];
}