Home
last modified time | relevance | path

Searched refs:__local (Results 1 – 25 of 46) sorted by relevance

12

/external/libxcam/cl_kernel/
Dkernel_bayer_pipe.cl60 __local float *px, __local float *py, __local float *pz, __local float *pw,
78 (*(__local float4 *)(px + index)) = gr;
79 (*(__local float4 *)(py + index)) = r;
80 (*(__local float4 *)(pz + index)) = b;
81 (*(__local float4 *)(pw + index)) = gb;
88 inline float2 delta_coff (float2 in, __local float *table)
97 inline float2 dot_denoise (float2 value, float2 in1, float2 in2, float2 in3, float2 in4, __local fl…
123 inline float2 dot_denoise_ee (float2 value, float2 in1, float2 in2, float2 in3, float2 in4, __local
130__local float *x_data_in, __local float *y_data_in, __local float *z_data_in, __local float *w_dat…
140 R_y[0] = *(__local float3*)(y_data_in + index);
[all …]
Dkernel_bayer_basic.cl69 __local float4 * slm_gr,
70 __local float4 * slm_r,
71 __local float4 * slm_b,
72 __local float4 * slm_gb,
105 tmp = ((__local float8*)slm_gr)[index];
108 tmp = ((__local float8*)slm_r)[index];
111 tmp = ((__local float8*)slm_b)[index];
114 tmp = ((__local float8*)slm_gb)[index];
189__local float4 slm_gr[SLM_X_SIZE * SLM_Y_SIZE], slm_r[SLM_X_SIZE * SLM_Y_SIZE], slm_b[SLM_X_SIZE *…
223 data_gr = ((__local float8*)slm_gr)[index];
[all …]
Dkernel_3d_denoise.cl119 __local uchar8* ref_cache,
167 __local uchar4* p_ref = (__local uchar4*)(ref_cache);
170 ref[0] = convert_float8(*(__local uchar8*)(p_ref + mad24(local_id_y,
176 ref[1] = convert_float8(*(__local uchar8*)(p_ref + mad24(local_id_y,
185 ref[0] = convert_float8(*(__local uchar8*)(p_ref + mad24((local_id_y + 4),
191 ref[1] = convert_float8(*(__local uchar8*)(p_ref + mad24((local_id_y + 4),
202 ref[0] = convert_float8(*(__local uchar8*)(p_ref + mad24((local_id_y + 8),
208 ref[1] = convert_float8(*(__local uchar8*)(p_ref + mad24((local_id_y + 8),
232 __local uchar8 ref_cache[REF_BLOCK_HEIGHT * REF_BLOCK_WIDTH];
Dkernel_min_filter.cl41 void load_to_slm (__read_only image2d_t input, __local uchar8 *slm, int group_start_x, int group_st…
63 __local uchar8 *data_center, __write_only image2d_t output,
90 __local uchar8 *data_center, __write_only image2d_t output,
95 uchar8 v_left = ((__local uchar8 *)data_center)[-1];
96 uchar8 v_right = ((__local uchar8 *)data_center)[1];
172 __local uchar8 slm_cache[slm_x_size * slm_y_size];
183 __local uchar8 *data_center = slm_cache + slm_index;
Dkernel_tonemapping.cl32 __local float4 local_src_data[SHARED_PIXEL_X_SIZE * SHARED_PIXEL_Y_SIZE];
78 …float16 integrate_data = *((__local float16 *)(local_src_data + local_id_y * SHARED_PIXEL_X_SIZE +…
84 …integrate_data = *((__local float16 *)(local_src_data + (local_id_y + 1) * SHARED_PIXEL_X_SIZE + l…
90 …integrate_data = *((__local float16 *)(local_src_data + (local_id_y + 2) * SHARED_PIXEL_X_SIZE + l…
Dkernel_wavelet_coeff.cl51 __local float4 local_src_data[SLM_CELL_X_SIZE * SLM_CELL_Y_SIZE];
65 …float16 line0 = *((__local float16 *)(local_src_data + local_id_y * SLM_CELL_X_SIZE + local_id_x));
66 …float16 line1 = *((__local float16 *)(local_src_data + (local_id_y + 1) * SLM_CELL_X_SIZE + local_…
67 …float16 line2 = *((__local float16 *)(local_src_data + (local_id_y + 2) * SLM_CELL_X_SIZE + local_…
68 …float16 line3 = *((__local float16 *)(local_src_data + (local_id_y + 3) * SLM_CELL_X_SIZE + local_…
69 …float16 line4 = *((__local float16 *)(local_src_data + (local_id_y + 4) * SLM_CELL_X_SIZE + local_…
Dkernel_3d_denoise_slm.cl35 __local float4* ref_cache,
37 __local float4* observe_cache,
176 __local float4 ref_cache[REF_BLOCK_HEIGHT * REF_BLOCK_WIDTH];
177 __local float4 observe_cache[WORK_BLOCK_HEIGHT * WORK_BLOCK_WIDTH];
Dkernel_rgb_pipe.cl26 __inline void cl_snr (__local float4 *in, float4 *out, int lx, int ly)
75 __local float4 p[SHARED_PIXEL_X_SIZE * SHARED_PIXEL_Y_SIZE];
/external/clang/test/SemaOpenCL/
Daddress-spaces.cl6 __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 pointe…
17 …g = (global int*) l; // expected-error {{casting '__local int *' to type '__global int *' chang…
22 …l = (local int*) g; // expected-error {{casting '__global int *' to type '__local int *' chang…
23 …l = (local int*) c; // expected-error {{casting '__constant int *' to type '__local int *' cha…
24 …l = (local int*) cc; // expected-error {{casting 'const __constant int *' to type '__local int …
25 …l = (local int*) p; // expected-error {{casting 'int *' to type '__local int *' changes addres…
28 …c = (constant int*) l; // expected-error {{casting '__local int *' to type '__constant int *' cha…
32 …p = (private int*) l; // expected-error {{casting '__local int *' to type 'int *' changes addres…
Devent_t_overload.cl3 …)) foo(event_t, __local char *); // expected-note {{candidate function not viable: no known conver…
4 …)) foo(event_t, __local float *); // expected-note {{candidate function not viable: no known conve…
6 void kernel ker(__local char *src1, __local float *src2, __global int *src3) {
Daddress-spaces-conversions-cl2.0.cl63 …{{initializing '__{{global|constant}} int *' with an expression of type '__local int *' changes ad…
88 // expected-error-re@-2{{casting '__local int *' to type '__{{global|constant}} int *' changes addr…
114 // expected-error-re@-2{{assigning '__local int *' to '__{{global|constant}} int *' changes address…
139 // expected-error-re@-2{{casting '__local int *' to type '__{{global|constant}} int *' changes addr…
165 // expected-error-re@-2{{comparison between ('__{{global|constant}} int *' and '__local int *') wh…
191 …tic operation with operands of type ('__{{global|constant}} int *' and '__local int *') which are…
214 …-re{{passing '__{{global|constant|generic}} int *' to parameter of type '__local int *' changes ad…
241 …e second and third operands of type ('__{{global|constant}} int *' and '__local int *') which are…
271 …e second and third operands of type ('__{{global|constant}} int *' and '__local char *') which ar…
Dnull_literal.cl21 …xpected-error{{initializing '__global int *' with an expression of type '__local void *' changes a…
25 cmp = ptr1 == (local void*)0; // expected-error{{comparison between ('__global int *' and '__local
Dto_addr_builtin.cl43 …// expected-warning@-2{{incompatible integer to pointer conversion assigning to '__local int *' fr…
45 …// expected-error@-4{{assigning '__global int *' to '__local int *' changes address space of point…
/external/clang/test/CodeGenOpenCL/
Dlocal-initializer-undef.cl15 __local int lds_int;
16 __local int lds_int_arr[128];
17 __local Foo lds_struct;
18 __local Foo lds_struct_arr[64];
Dlocal.cl7 __local int i;
/external/clang/lib/Headers/
Dopencl-c.h8313 float __ovld fract(float x, __local float *iptr);
8314 float2 __ovld fract(float2 x, __local float2 *iptr);
8315 float3 __ovld fract(float3 x, __local float3 *iptr);
8316 float4 __ovld fract(float4 x, __local float4 *iptr);
8317 float8 __ovld fract(float8 x, __local float8 *iptr);
8318 float16 __ovld fract(float16 x, __local float16 *iptr);
8332 double __ovld fract(double x, __local double *iptr);
8333 double2 __ovld fract(double2 x, __local double2 *iptr);
8334 double3 __ovld fract(double3 x, __local double3 *iptr);
8335 double4 __ovld fract(double4 x, __local double4 *iptr);
[all …]
/external/spirv-llvm/test/SPIRV/transcoding/
Ddevice_execution_simple_local_memory.ll2 ;; void device_kernel(__local float* ptr0, __local float* ptr1) {
8 ;; void(^block)(__local void*, __local void*) = ^(__local void* ptr0, __local void* ptr1){
Ddevice_execution_overloading.ll2 ;; void device_kernel_with_local_args(__local float* ptr0, __local float* ptr1) {
12 ;; void(^block_with_local)(__local void*, __local void*) = ^(__local void* ptr0, __local void* pt…
/external/skqp/src/compute/skc/platforms/cl_12/kernels/
Dplace.cl194 skc_scatter_scan_max(__local union skc_subgroup_smem volatile * const smem,
258 skc_sk_to_ck(__local union skc_subgroup_smem volatile * const smem,
280 skc_pk_to_ck(__local union skc_subgroup_smem volatile * const smem,
309 __local union skc_subgroup_smem volatile * const smem,
339 skc_ttpk_get_span(__local union skc_subgroup_smem volatile * const smem,
359 __local union skc_subgroup_smem volatile * const smem,
503 __local union skc_subgroup_smem volatile smem[1];
505 __local union skc_subgroup_smem volatile smem_wg[SKC_PLACE_WORKGROUP_SUBGROUPS];
506 __local union skc_subgroup_smem volatile * const smem = smem_wg + get_sub_group_id();
Dprefix.cl142 skc_accum_scatter(__local struct skc_subgroup_smem * const smem, skc_tts_v_t const tts_v)
199 skc_accum_flush(__local struct skc_subgroup_smem * const smem,
228 skc_accum_reset(__local struct skc_subgroup_smem * const smem)
784 __local struct skc_subgroup_smem smem[1];
786 __local struct skc_subgroup_smem smems[SKC_PREFIX_WORKGROUP_SUBGROUPS];
787 __local struct skc_subgroup_smem * restrict const smem = smems + get_sub_group_id();
/external/skia/src/compute/skc/platforms/cl_12/kernels/
Dplace.cl194 skc_scatter_scan_max(__local union skc_subgroup_smem volatile * const smem,
258 skc_sk_to_ck(__local union skc_subgroup_smem volatile * const smem,
280 skc_pk_to_ck(__local union skc_subgroup_smem volatile * const smem,
309 __local union skc_subgroup_smem volatile * const smem,
339 skc_ttpk_get_span(__local union skc_subgroup_smem volatile * const smem,
359 __local union skc_subgroup_smem volatile * const smem,
503 __local union skc_subgroup_smem volatile smem[1];
505 __local union skc_subgroup_smem volatile smem_wg[SKC_PLACE_WORKGROUP_SUBGROUPS];
506 __local union skc_subgroup_smem volatile * const smem = smem_wg + get_sub_group_id();
Dprefix.cl142 skc_accum_scatter(__local struct skc_subgroup_smem * const smem, skc_tts_v_t const tts_v)
199 skc_accum_flush(__local struct skc_subgroup_smem * const smem,
228 skc_accum_reset(__local struct skc_subgroup_smem * const smem)
784 __local struct skc_subgroup_smem smem[1];
786 __local struct skc_subgroup_smem smems[SKC_PREFIX_WORKGROUP_SUBGROUPS];
787 __local struct skc_subgroup_smem * restrict const smem = smems + get_sub_group_id();
/external/ImageMagick/MagickCore/
Daccelerate-kernels-private.h906 __local float4 *temp,__global float4 *tempImage)
962 __local float4 *temp,__global CLQuantum *filteredImage)
1258 …const uint matte, const ChannelType channel, __local CLPixelType *pixelLocalCache, __local float* …
2464 const float resizeFilterBlur, __local CLQuantum *inputImageCache, const int numCachedPixels,
2466 __local float4 *outputPixelCache, __local float *densityCache, __local float *gammaCache)
2537 __local CLQuantum *p = inputImageCache + (cacheIndex*number_channels);
2626 const float resizeFilterBlur, __local CLQuantum *inputImageCache, const int numCachedPixels,
2628 __local float4 *outputPixelCache, __local float *densityCache, __local float *gammaCache)
2703 __local CLQuantum *p = inputImageCache + cacheIndex;
2884 const unsigned int rows,__local float4* cachedData,
[all …]
/external/skia/src/compute/skc/platforms/cl_12/
Datomic_cl.h40 #define SKC_ATOMIC_CAST_LOCAL(p) (__local atomic_uint volatile * restrict const…
/external/skqp/src/compute/skc/platforms/cl_12/
Datomic_cl.h40 #define SKC_ATOMIC_CAST_LOCAL(p) (__local atomic_uint volatile * restrict const…

12