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