/external/clang/test/SemaOpenCL/ |
event_t_overload.cl | 3 void __attribute__((overloadable)) foo(event_t, __local char *); // expected-note {{candidate function not viable: no known conversion from '__global int *' to '__local char *' for 2nd argument}} 4 void __attribute__((overloadable)) foo(event_t, __local float *); // expected-note {{candidate function not viable: no known conversion from '__global int *' to '__local float *' for 2nd argument}} 6 void kernel ker(__local char *src1, __local float *src2, __global int *src3) {
|
address-spaces.cl | 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}} 22 l = (local int*) g; // expected-error {{casting '__global int *' to type '__local int *' changes address space of pointer}} 23 l = (local int*) c; // expected-error {{casting '__constant int *' to type '__local int *' changes address space of pointer}} 24 l = (local int*) cc; // expected-error {{casting 'const __constant int *' to type '__local int *' changes address space of pointer}} 25 l = (local int*) p; // expected-error {{casting 'int *' to type '__local int *' changes address space of pointer}} 28 c = (constant int*) l; // expected-error {{casting '__local int *' to type '__constant int *' changes address space of pointer} [all...] |
null_literal.cl | 21 global int* ptr6 = (local void*)0; // expected-error{{initializing '__global int *' with an expression of type '__local void *' changes address space of pointer}} 25 cmp = ptr1 == (local void*)0; // expected-error{{comparison between ('__global int *' and '__local void *') which are pointers to non-overlapping address spaces}}
|
sampler_t.cl | 8 local sampler_t smp; // expected-error {{sampler type cannot be used with the __local and __global address space qualifiers}}
|
address-spaces-conversions-cl2.0.cl | 63 // expected-error-re@-2{{initializing '__{{global|constant}} int *' with an expression of type '__local int *' changes address space of pointer}} 88 // expected-error-re@-2{{casting '__local int *' to type '__{{global|constant}} int *' changes address space of pointer}} 114 // expected-error-re@-2{{assigning '__local int *' to '__{{global|constant}} int *' changes address space of pointer}} 139 // expected-error-re@-2{{casting '__local int *' to type '__{{global|constant}} int *' changes address space of pointer}} 165 // expected-error-re@-2{{comparison between ('__{{global|constant}} int *' and '__local int *') which are pointers to non-overlapping address spaces}} 191 // expected-error-re@-2{{arithmetic operation with operands of type ('__{{global|constant}} int *' and '__local int *') which are pointers to non-overlapping address spaces}} 214 f_loc(var_sub); // expected-error-re{{passing '__{{global|constant|generic}} int *' to parameter of type '__local int *' changes address space of pointer}}
|
/external/clang/test/CodeGenOpenCL/ |
local-initializer-undef.cl | 15 __local int lds_int; 16 __local int lds_int_arr[128]; 17 __local Foo lds_struct; 18 __local Foo lds_struct_arr[64];
|
local.cl | 7 __local int i;
|
address-spaces.cl | 11 void f__l(__local int *arg) {}
|
/external/opencv3/modules/features2d/src/opencl/ |
brute_force_match.cl | 130 __local value_type *s_query, 131 __local value_type *s_train, 146 __local value_type *s_query, 147 __local value_type *s_train, 162 __local value_type *s_query, 163 __local value_type *s_train, 199 __local float sharebuffer[SHARED_MEM_SZ]; 200 __local value_type *s_query = (__local value_type *)sharebuffer; 203 __local value_type *s_train = (__local value_type *)sharebuffer + BLOCK_SIZE * MAX_DESC_LEN [all...] |
/external/valgrind/drd/tests/ |
std_thread.cpp | 31 std::thread::__shared_base_type __local; local 32 __local.swap(__t->_M_this_ptr);
|
std_thread2.cpp | 36 std::thread::__shared_base_type __local; local 37 __local.swap(__t->_M_this_ptr);
|
/external/opencv3/modules/features2d/ |
opencl_kernels_features2d.cpp | 89 "__local value_type *s_query,\n" 90 "__local value_type *s_train,\n" 104 "__local value_type *s_query,\n" 105 "__local value_type *s_train,\n" 119 "__local value_type *s_query,\n" 120 "__local value_type *s_train,\n" 153 "__local float sharebuffer[SHARED_MEM_SZ];\n" 154 "__local value_type *s_query = (__local value_type *)sharebuffer;\n" 156 "__local value_type *s_train = (__local value_type *)sharebuffer + BLOCK_SIZE * MAX_DESC_LEN;\n [all...] |
/external/opencv3/modules/core/src/opencl/ |
fft.cl | 34 void butterfly2(CT a0, CT a1, __local CT* smem, __global const CT* twiddles, 46 void butterfly4(CT a0, CT a1, CT a2, CT a3, __local CT* smem, __global const CT* twiddles, 68 void butterfly3(CT a0, CT a1, CT a2, __local CT* smem, __global const CT* twiddles, 86 void butterfly5(CT a0, CT a1, CT a2, CT a3, CT a4, __local CT* smem, __global const CT* twiddles, 96 __local CT* dst = smem + dst_ind; 127 void fft_radix2(__local CT* smem, __global const CT* twiddles, const int x, const int block_size, const int t) 146 void fft_radix2_B2(__local CT* smem, __global const CT* twiddles, const int x1, const int block_size, const int t) 169 void fft_radix2_B3(__local CT* smem, __global const CT* twiddles, const int x1, const int block_size, const int t) 195 void fft_radix2_B4(__local CT* smem, __global const CT* twiddles, const int x1, const int block_size, const int t) 225 void fft_radix2_B5(__local CT* smem, __global const CT* twiddles, const int x1, const int block_size, const int t [all...] |
meanstddev.cl | 45 __local dstT localMemSum[WGS2_ALIGNED]; 46 __local sqdstT localMemSqSum[WGS2_ALIGNED]; 48 __local int localMemNonZero[WGS2_ALIGNED];
|
minmaxloc.cl | 139 __local dstT1 localmem_min[WGS2_ALIGNED]; 142 __local uint localmem_minloc[WGS2_ALIGNED]; 148 __local dstT1 localmem_max[WGS2_ALIGNED]; 150 __local uint localmem_maxloc[WGS2_ALIGNED]; 155 __local dstT1 localmem_max2[WGS2_ALIGNED];
|
/external/opencv3/modules/objdetect/src/opencl/ |
cascadedetect.cl | 107 __local int lstore[SUM_BUF_SIZE + LOCAL_SIZE*5/2+1]; 109 __local int* ibuf = lstore; 110 __local int* lcount = ibuf + SUM_BUF_SIZE; 112 __local int* lcount = lstore; 114 __local float* lnf = (__local float*)(lcount + 1); 115 __local float* lpartsum = lnf + LOCAL_SIZE; 116 __local short* lbuf = (__local short*)(lpartsum + LOCAL_SIZE); 158 __local const int* psum = ibuf + mad24(iy, SUM_BUF_STEP, ix) [all...] |
objdetect_hog.cl | 72 __global float* block_hists, __local float* smem) 87 __local float* hists = smem + lp * cnbins * (CELLS_PER_BLOCK_X * 89 __local float* final_hist = hists + cnbins * 100 __local float* hist = hists + 12 * (cell_y * CELLS_PER_BLOCK_Y + cell_x) + 129 volatile __local float* hist_ = hist; 160 const float threshold, __local float *squares) 172 __local float* smem = squares + boffset; 210 inline float reduce_smem(volatile __local float* smem, int size) 255 __global float* block_hists, const float threshold, __local float *squares) 313 __local float products[180] [all...] |
/external/opencv3/modules/photo/ |
opencl_kernels_photo.cpp | 92 "__local int * dists, int y, int x, int id,\n" 128 "__local int * dists, int y, int x0, int x, int id, int first,\n" 154 "__local int * dists, int y, int x0, int x, int id, int first,\n" 179 "__local int * dists, __global const wlut_t * almostDist2Weight,\n" 181 "int y, int x, int id, __local weight_t * weights_local,\n" 182 "__local sum_t * weighted_sum_local, int almostTemplateWindowSizeSqBinShift)\n" 226 "__local int dists[SEARCH_SIZE_SQ];\n" 227 "__local weight_t weights[CTA_SIZE];\n" 228 "__local sum_t weighted_sum[CTA_SIZE];\n"
|
/external/opencv3/modules/photo/src/opencl/ |
nlmeans.cl | 100 __local int * dists, int y, int x, int id, 145 __local int * dists, int y, int x0, int x, int id, int first, 177 __local int * dists, int y, int x0, int x, int id, int first, 210 __local int * dists, __global const wlut_t * almostDist2Weight, 212 int y, int x, int id, __local weight_t * weights_local, 213 __local sum_t * weighted_sum_local, int almostTemplateWindowSizeSqBinShift) 266 __local int dists[SEARCH_SIZE_SQ]; 267 __local weight_t weights[CTA_SIZE]; 268 __local sum_t weighted_sum[CTA_SIZE];
|
/external/opencv3/modules/imgproc/src/opencl/ |
integral_sum.cl | 31 __local sumT lm_sum[LOCAL_SUM_STRIDE * LOCAL_SUM_SIZE]; 33 __local sumSQT lm_sum_sq[LOCAL_SUM_STRIDE * LOCAL_SUM_SIZE]; 100 __local sumT lm_sum[LOCAL_SUM_STRIDE * LOCAL_SUM_SIZE]; 102 __local sumSQT lm_sum_sq[LOCAL_SUM_STRIDE * LOCAL_SUM_SIZE];
|
clahe.cl | 50 inline int calc_lut(__local int* smem, int val, int tid) 64 inline void reduce(volatile __local int* smem, int val, int tid) 104 inline void reduce(__local volatile int* smem, int val, int tid) 148 __local int smem[512]; 192 __local int totalClipped;
|
/external/opencv3/modules/calib3d/ |
opencl_kernels_calib3d.cpp | 22 "void calcDisp(__local short * cost, __global short * disp, int uniquenessRatio,\n" 23 "__local int * bestDisp, __local int * bestCost, int d, int x, int y, int cols, int rows)\n" 106 "__local short costFunc[2 * BLOCK_SIZE_Y * NUM_DISP];\n" 107 "__local short * cost;\n" 108 "__local int best_disp[2];\n" 109 "__local int best_cost[2];\n"
|
/external/opencv3/modules/calib3d/src/opencl/ |
stereobm.cl | 60 void calcDisp(__local short * cost, __global short * disp, int uniquenessRatio, 61 __local int * bestDisp, __local int * bestCost, int d, int x, int y, int cols, int rows) 156 __local short costFunc[2 * BLOCK_SIZE_Y * NUM_DISP]; 158 __local short * cost; 159 __local int best_disp[2]; 160 __local int best_cost[2];
|
/external/opencv3/modules/video/src/opencl/ |
pyrlk.cl | 62 inline void reduce3(float val1, float val2, float val3, __local float* smem1, __local float* smem2, __local float* smem3, int tid) 81 inline void reduce2(float val1, float val2, volatile __local float* smem1, volatile __local float* smem2, int tid) 98 inline void reduce1(float val1, volatile __local float* smem1, int tid) 114 __local volatile float* smem1, __local volatile float* smem2, __local volatile float* smem3, int tid) 157 inline void reduce2(float val1, float val2, __local volatile float* smem1, __local volatile float* smem2, int tid [all...] |
/external/opencv3/modules/objdetect/ |
opencl_kernels_objdetect.cpp | 96 "__local int lstore[SUM_BUF_SIZE + LOCAL_SIZE*5/2+1];\n" 98 "__local int* ibuf = lstore;\n" 99 "__local int* lcount = ibuf + SUM_BUF_SIZE;\n" 101 "__local int* lcount = lstore;\n" 103 "__local float* lnf = (__local float*)(lcount + 1);\n" 104 "__local float* lpartsum = lnf + LOCAL_SIZE;\n" 105 "__local short* lbuf = (__local short*)(lpartsum + LOCAL_SIZE);\n" 142 "__local const int* psum = ibuf + mad24(iy, SUM_BUF_STEP, ix);\n [all...] |