Lines Matching full:__local
6 __local int li;
7 __local int lj = 2; // expected-error {{'__local' variable cannot have an initializer}}
11 ip = &li; // expected-error {{assigning '__local int *' to 'int *' changes address space of pointer}}
17 g = (global int*) l; // expected-error {{casting '__local int *' to type '__global int *' changes address space of pointer}}
21 l = (local int*) g; // expected-error {{casting '__global int *' to type '__local int *' changes address space of pointer}}
22 l = (local int*) c; // expected-error {{casting '__constant int *' to type '__local int *' changes address space of pointer}}
23 l = (local int*) p; // expected-error {{casting 'int *' to type '__local int *' changes address space of pointer}}
26 c = (constant int*) l; // expected-error {{casting '__local int *' to type '__constant int *' changes address space of pointer}}
30 p = (private int*) l; // expected-error {{casting '__local int *' to type 'int *' changes address space of pointer}}