1 2 3 4 5 6 7
__kernel void compiler_short_scatter(__global short *dst) { int id = (int) get_global_id(0); dst[id] = (short) id; }