__constant char s[] = "Hello!"; __kernel void hello(__global char *out) { size_t i = get_global_id(0); out[i] = s[i]; }