blob: 0e6d4875504e22e0c014cb42418dd6b20bf71bc7 (
plain)
1
2
3
4
5
6
7
8
9
10
|
__kernel void
compiler_gather_register_file0(__global uint *src, __global uint *dst)
{
__gen_ocl_force_simd16();
int id = (int)get_global_id(0);
const int x0 = src[id];
const unsigned short index = 15 - get_global_id(0);
dst[id] = __gen_ocl_rgather(index, x0);
}
|