1 2 3 4 5 6 7
#include "stdlib.h" __kernel void short_write(__global short *dst, short x, short y) { dst[0] = x + y; }