2
3
4
5
6
22__constant const int LOCU32_COUNT_0 = 3;
25void not_kernel(
void) {}
28__attribute__((annotate(
"reqd_work_group_size(2, 2, 2)")))
29__kernel void KERNEL_0(
33 __global uint*
__attribute__((annotate(
"aclspv_set(2)"))) globu32,
35
36
37
38 __local double __attribute__((annotate(
"aclspv_specid(0)")))
39 locu32_0[LOCU32_COUNT],
40 __global float* globf32,
44 struct STRUCTURE push_struct
48 globu32[get_global_id(0)] += pushu32 + sin(globf32[get_global_id(0)]);
49 (
void)(1 + get_global_id(0));
55__attribute__((annotate(
"aclspv_execmodel(0)")))
56__kernel void N_KERNEL_0(
__constant uintptr_t* consti32,
__attribute__((annotate(
"aclspv_storage_class(3)")))
__global const uint* u32out) {
57 const size_t specid_0
__attribute__((annotate(
"aclspv_specid(0)"))) = 0;
58 const size_t specid_1
__attribute__((annotate(
"aclspv_specid(1)"))) = 1;
78kernel void do_none(
void)
80 size_t g = get_global_id(0);
81 struct {
char a;
int b; } C;
85kernel void do_add_sub(
__global short4 *add_out,
__global short4 *sub_out,
86 __global short4 *x,
__global short4 *y)
88 size_t g = get_global_id(0);
89 add_out[g] = x[g] + y[g];
90 sub_out[g] = x[g] - y[g];