Home
last modified time | relevance | path

Searched refs:__global__ (Results 1 – 25 of 29) sorted by relevance

12

/external/clang/test/SemaCUDA/
Dbad-attributes.cu22 __global__ int e1; // expected-warning {{attribute only applies to functions}}
23 __global__ void e2();
31 __device__ __global__ void z4(); // expected-error {{attributes are not compatible}}
35 __host__ __global__ void z6(); // expected-error {{attributes are not compatible}}
46 __global__ __device__ void z11(); // expected-error {{attributes are not compatible}}
48 __global__ __host__ void z12(); // expected-error {{attributes are not compatible}}
52 __global__ void foo() {}; // expected-error {{must be a free function or static member function}} in foo()
53 __global__ static void bar(); // expected-warning {{kernel function 'bar' is a member function}}
55__global__ static void baz() {}; // expected-warning {{kernel function 'baz' is a member function}} in baz()
58 __global__ static inline void foobar() {}; in foobar()
Damdgpu-num-gpr-attr.cu6 __global__ void test_num_vgpr() { } // expected-error {{'amdgpu_num_vgpr' attribute only applies to… in test_num_vgpr()
9 __global__ void test_num_sgpr() { } // expected-error {{'amdgpu_num_sgpr' attribute only applies to… in test_num_sgpr()
14 __global__ void test_num_vgpr_num_sgpr() { } in test_num_vgpr_num_sgpr()
Dqualifiers.cu35 __global__ void g1(int x) {} in g1()
36 __global__ int g2(int x) { // expected-error {{must have void return type}} in g2()
Dfunction-target.cu9 __global__ void h1g(void);
26 __global__ void d1g(void); // expected-note {{'d1g' declared here}}
Dfunction-overload.cu88 __global__ void g() {} in g()
147 __global__ void globalf() { in globalf()
295 __global__ void friend_of_g(G &arg) { int x = arg.x; } // expected-note {{previous definition is he… in friend_of_g()
Dcxx11-kernel-call.cu5 __global__ void k1() {} in k1()
Dkernel-call.cu5 __global__ void g1(int x) {} in g1()
/external/clang/test/CodeGenCUDA/
Dlaunch-bounds.cu10 __global__ void
23 __global__ void
33 __global__ void
43 __global__ void
55 __global__ void
67 __global__ void
75 __global__ void
84 __global__ void __launch_bounds__(constint, constchar) Kernel8() {} in __launch_bounds__()
Dptx-kernels.cu15 __global__ void global_function() { in global_function()
21 template <typename T> __global__ void templated_kernel(T param) {} in templated_kernel()
25 __global__ void anonymous_ns_kernel() {} in anonymous_ns_kernel()
Dkernel-call.cu5 __global__ void g1(int x) {} in g1()
Dhost-device-calls-host.cu27 __global__ void global_function() { in global_function()
Dfilter-decl.cu46 __global__ void globalfunc(void) {} in globalfunc()
Dlink-device-bitcode.cu50 __global__ __attribute__((used)) void kernel(float *out, float *in) { in kernel()
Ddevice-stub.cu66 __global__ void kernelfunc(int i, int j, int k) {} in kernelfunc()
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorReductionCuda.h114 __global__ void ReductionInitKernel(const CoeffType val, Index num_preserved_coeffs, CoeffType* out… in ReductionInitKernel()
125 __global__ void FullReductionKernel(Reducer reducer, const Self input, Index num_coeffs, in FullReductionKernel()
191 __global__ void ReductionInitFullReduxKernelHalfFloat(Reducer reducer, const Self input, Index num_… in ReductionInitFullReduxKernelHalfFloat()
204 __global__ void ReductionInitKernelHalfFloat(Reducer reducer, const Self input, Index num_coeffs, h… in ReductionInitKernelHalfFloat()
219 __global__ void FullReductionKernelHalfFloat(Reducer reducer, const Self input, Index num_coeffs, in FullReductionKernelHalfFloat()
264 __global__ void ReductionCleanupKernelHalfFloat(Op& reducer, half* output, half2* scratch) { in ReductionCleanupKernelHalfFloat()
374 __global__ void InnerReductionKernel(Reducer reducer, const Self input, Index num_coeffs_to_reduce,…
446 __global__ void InnerReductionKernelHalfFloat(Reducer reducer, const Self input, Index num_coeffs_t…
667 __global__ void OuterReductionKernel(Reducer reducer, const Self input, Index num_coeffs_to_reduce,…
DTensorReduction.h326 __global__ void FullReductionKernel(R, const S, I, typename S::CoeffReturnType*, unsigned int*);
331 __global__ void ReductionInitFullReduxKernelHalfFloat(R, const S, I, half2*);
333 __global__ void FullReductionKernelHalfFloat(R, const S, I, half*, half2*);
335 __global__ void InnerReductionKernelHalfFloat(R, const S, I, I, half*);
340 __global__ void InnerReductionKernel(R, const S, I, I, typename S::CoeffReturnType*);
343 __global__ void OuterReductionKernel(R, const S, I, I, typename S::CoeffReturnType*);
DTensorExecutor.h235 __global__ void
DTensorScan.h251 __global__ void ScanKernel(Self self, Index total_size, typename Self::CoeffReturnType* data) {
/external/clang/test/PCH/
Dcuda-kernel-call.cu14 __global__ void kern() { in kern()
/external/clang/test/SemaCUDA/Inputs/
Dcuda.h10 #define __global__ __attribute__((global)) macro
/external/clang/test/PCH/Inputs/
Dcuda.h7 #define __global__ __attribute__((global)) macro
/external/clang/test/CodeGenCUDA/Inputs/
Dcuda.h7 #define __global__ __attribute__((global)) macro
/external/eigen/test/
Dcuda_common.h23 __global__
/external/llvm/test/Transforms/StraightLineStrengthReduce/NVPTX/
Dspeculative-slsr.ll7 ; __global__ void foo(int b, int s) {
/external/clang/test/CodeGen/
Dbuiltins-nvptx.c8 #define __global__ __attribute__((global)) macro

12