Home
last modified time | relevance | path

Searched refs:__global (Results 1 – 14 of 14) sorted by relevance

/external/clang/test/SemaOpenCL/
Daddress-spaces.cl5 __kernel void foo(__global int *gip) {
10 …ip = gip; // expected-error {{assigning '__global int *' to 'int *' changes address space of point…
17 …g = (global int*) l; // expected-error {{casting '__local int *' to type '__global int *' chang…
18 …g = (global int*) c; // expected-error {{casting '__constant int *' to type '__global int *' ch…
19 …g = (global int*) cc; // expected-error {{casting 'const __constant int *' to type '__global int…
20 …g = (global int*) p; // expected-error {{casting 'int *' to type '__global int *' changes addre…
22 …l = (local int*) g; // expected-error {{casting '__global int *' to type '__local int *' chang…
27 …c = (constant int*) g; // expected-error {{casting '__global int *' to type '__constant int *' ch…
31 …p = (private int*) g; // expected-error {{casting '__global int *' to type 'int *' changes addre…
Devent_t_overload.cl3 …xpected-note {{candidate function not viable: no known conversion from '__global int *' to '__loca…
4 …xpected-note {{candidate function not viable: no known conversion from '__global int *' to '__loca…
6 void kernel ker(__local char *src1, __local float *src2, __global int *src3) {
Daddress-spaces-conversions-cl2.0.cl13 * Based on this there are 3 sets of tests: __generic, named (__global in this
58 // expected-error@-2{{initializing '__constant int *' with an expression of type '__global int *' c…
83 // expected-error@-2{{casting '__global int *' to type '__constant int *' changes address space of …
109 // expected-error@-2{{assigning '__global int *' to '__constant int *' changes address space of poi…
134 // expected-error@-2{{casting '__global int *' to type '__constant int *' changes address space of …
160 // expected-error@-2{{comparison between ('__constant int *' and '__global int *') which are point…
186 // expected-error@-2{{arithmetic operation with operands of type ('__constant int *' and '__global
211 // expected-error-re@-2{{passing '__{{constant|generic}} int *' to parameter of type '__global int …
Dsampler_t.cl8 …p; // expected-error {{sampler type cannot be used with the __local and __global address space qua…
Dcond.cl113 …return C ? X : Y; // expected-error {{used type '__global int *' where integer or floating point t…
/external/clang/test/CodeGenOpenCL/
Dkernel-arg-info.cl4 kernel void foo(__global int * restrict X, const int Y,
27 kernel void foo3(__global half * X) {
38 kernel void foo4(__global unsigned int * X, __global myunsignedint * Y) {
Daddress-spaces.cl6 void f__g(__global int *arg) { }
/external/icu/icu4c/source/common/unicode/
Dplatform.h721 # define U_EXPORT __global
/external/clang/include/clang/Basic/
DTokenKinds.def469 KEYWORD(__global , KEYOPENCL)
474 ALIAS("global", __global , KEYOPENCL)
DAttrDocs.td1352 __generic(generic), __global(global), __local(local), __private(private),
1397 let Heading = "__global(global)";
DAttr.td642 let Spellings = [Keyword<"__global">, Keyword<"global">];
DDiagnosticSemaKinds.td7333 "sampler type cannot be used with the __local and __global address space qualifiers">;
/external/libcxx/src/
Dlocale.cpp486 locale::__global() in __global() function in locale
493 : __locale_(__global().__locale_) in locale()
577 locale& g = __global(); in global()
/external/libcxx/include/
D__locale112 static locale& __global();