Lines Matching refs:kernel
12 kernel void bool_arg(bool x) { } // expected-error{{'bool' cannot be used as the type of a kernel p…
14 kernel void half_arg(half x) { } // expected-error{{'half' cannot be used as the type of a kernel p…
21 kernel void bool_in_struct_arg(ContainsBool x) { } // expected-error{{'ContainsBool' (aka 'struct C…
33 kernel void image_in_struct_arg(FooImage2D arg) { } // expected-error{{struct kernel parameters may…
40 kernel void pointer_in_struct_arg(Foo arg) { } // expected-error{{struct kernel parameters may not …
47 kernel void pointer_in_union_arg(FooUnion arg) { }// expected-error{{union kernel parameters may no…
58 kernel void pointer_in_nested_struct_arg(NestedPointer arg) { }// expected-error{{struct kernel par…
75 kernel void pointer_in_nested_struct_arg_complex(struct NestedPointerComplex arg) { }// expected-er…
86 kernel void bool_in_nested_struct_arg(NestedBool arg) { } // expected-error{{'NestedBool' (aka 'str…
88 // Warning emitted again for argument used in other kernel
89 kernel void bool_in_nested_struct_arg_again(NestedBool arg) { } // expected-error{{'NestedBool' (ak…
104 kernel void bool_in_nested_struct_2_arg(NestedBool2 arg) { } // expected-error{{'NestedBool2' (aka …
135 kernel void pointer_in_nested_struct_arg_2(struct Valid valid, struct NestedPointer arg, struct Als…