summaryrefslogtreecommitdiff
path: root/backend/kernels/shuffle.cl
blob: 45d144e1acb3b78cb2bba158e9b6b8fd365b5cb6 (plain)
1
2
3
4
5
6
7
8
#include "stdlib.h"
__kernel void shuffle(__global int4 *dst, __global int4 *src, int c)
{
  const int4 from = src[0];
  dst[0] = from.xywz;
}