Home
last modified time | relevance | path

Searched refs:__constant (Results 1 – 25 of 30) sorted by relevance

12

/external/clang/test/SemaOpenCL/
Dvector_literals_const.cl8 __constant int4 i_1_1_1_1 = (int4)(1,2,3,4);
9 __constant int4 i_2_1_1 = (int4)((int2)(1,2),3,4);
10 __constant int4 i_1_2_1 = (int4)(1,(int2)(2,3),4);
11 __constant int4 i_1_1_2 = (int4)(1,2,(int2)(3,4));
12 __constant int4 i_2_2 = (int4)((int2)(1,2),(int2)(3,4));
13 __constant int4 i_3_1 = (int4)((int3)(1,2,3),4);
14 __constant int4 i_1_3 = (int4)(1,(int3)(2,3,4));
20 __constant float4 f_1_1_1_1 = (float4)(1,2,3,4);
21 __constant float4 f_2_1_1 = (float4)((float2)(1,2),3,4);
22 __constant float4 f_1_2_1 = (float4)(1,(float2)(2,3),4);
[all …]
Daddress-spaces.cl3 __constant int ci = 1;
12 …ip = &ci; // expected-error {{assigning '__constant int *' to 'int *' changes address space of poi…
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…
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 …
27 …c = (constant int*) g; // expected-error {{casting '__global int *' to type '__constant int *' ch…
28 …c = (constant int*) l; // expected-error {{casting '__local int *' to type '__constant int *' cha…
29 …c = (constant int*) p; // expected-error {{casting 'int *' to type '__constant int *' changes add…
33 …p = (private int*) c; // expected-error {{casting '__constant int *' to type 'int *' changes add…
[all …]
Daddress-spaces-conversions-cl2.0.cl11 * other address space except for __constant address space (Section 6.5.5).
14 * case), and __constant, that should cover all program paths for CL address
58 // expected-error@-2{{initializing '__constant int *' with an expression of type '__global int *' c…
68 …{initializing '__{{global|generic}} int *' with an expression of type '__constant int *' changes a…
83 // expected-error@-2{{casting '__global int *' to type '__constant int *' changes address space of …
93 // expected-error-re@-2{{casting '__constant int *' to type '__{{global|generic}} int *' changes ad…
103 // expected-error@-2{{casting '__generic int *' to type '__constant int *' changes address space of…
109 // expected-error@-2{{assigning '__global int *' to '__constant int *' changes address space of poi…
119 // expected-error-re@-2{{assigning '__constant int *' to '__{{global|generic}} int *' changes addre…
134 // expected-error@-2{{casting '__global int *' to type '__constant int *' changes address space of …
[all …]
Dstr_literals.cl4 constant char * __constant x = "hello world";
6 void foo(__constant char * a) {
Dbuiltin.cl8 int printf(__constant const char* st, ...);
Dnull_literal.cl14 constant int* ptr4 = (global void*)0; // expected-error{{initializing '__constant int *' with an ex…
/external/clang/test/CodeGenOpenCL/
Dstr_literals.cl3 __constant char * __constant x = "hello world";
4 __constant char * __constant y = "hello world";
Daddress-space-constant-initializers.cl8 __constant ArrayStruct constant_array_struct = { 0, 0.0f };
11 __constant float* constant_float_ptr;
17 __constant ConstantArrayPointerStruct constant_array_pointer_struct = {
Dvector_literals_nested.cl6 __constant const int4 itest1 = (int4)(1, 2, ((int2)(3, 4)));
8 __constant const int4 itest2 = (int4)(1, 2, ((int2)(3)));
Dconstant-addr-space-globals.cl4 __constant float array[2] = {0.0f, 1.0f};
Daddress-spaces.cl14 void f__c(__constant int *arg) {}
Dshifts.cl9 __constant const unsigned long gtest1 = 1UL << 31;
Dkernel-arg-info.cl5 volatile int anotherArg, __constant float * restrict Z) {
/external/libcxx/src/
Dstrstream.cpp62 : __strmode_(__constant), in strstreambuf()
80 : __strmode_(__constant), in strstreambuf()
98 : __strmode_(__constant), in strstreambuf()
207 if (__strmode_ & __constant) in pbackfail()
/external/libxcam/cl_kernel/
Dkernel_min_filter.cl35 //__constant const int slm_x_size = DOT_X_SIZE / 8;
36 //__constant const int slm_y_size = DOT_Y_SIZE;
39 __constant int uchar8_offset = OFFSET_X / 8;
Dkernel_wavelet_haar.cl87 __constant float uv_threshConst[5] = { 0.1659f, 0.06719f, 0.03343f, 0.01713f, 0.01043f };
88 __constant float y_threshConst[5] = { 0.06129f, 0.027319f, 0.012643f, 0.006513f, 0.003443f };
Dkernel_retinex.cl20 __constant float log_table[256] = {
Dkernel_gauss_lap_pyramid.cl28 __constant const float coeffs[9] = {0.0f, 0.0f, 0.152f, 0.222f, 0.252f, 0.222f, 0.152f, 0.0f, 0.0f};
467 __constant const float mask_coeffs[] = {0.0f, 0.0f, 0.0f, 0.082f, 0.102f, 0.119f, 0.130f, 0.134f, 0…
/external/skia/src/compute/skc/platforms/cl_12/kernels/
Drasterize.cl2920 … __global float8 const * const transforms, // FIXME -- __constant
2921 … __global float4 const * const clips, // FIXME -- __constant
2922 … __global union skc_cmd_rasterize const * const cmds, // FIXME -- __constant
3078 … __global float8 const * const transforms, // FIXME -- __constant
3079 … __global float4 const * const clips, // FIXME -- __constant
3080 … __global union skc_cmd_rasterize const * const cmds, // FIXME -- __constant
3187 … __global float8 const * const transforms, // FIXME -- __constant
3188 … __global float4 const * const clips, // FIXME -- __constant
3189 … __global union skc_cmd_rasterize const * const cmds, // FIXME -- __constant
3292 … __global float8 const * const transforms, // FIXME -- __constant
[all …]
/external/skqp/src/compute/skc/platforms/cl_12/kernels/
Drasterize.cl2920 … __global float8 const * const transforms, // FIXME -- __constant
2921 … __global float4 const * const clips, // FIXME -- __constant
2922 … __global union skc_cmd_rasterize const * const cmds, // FIXME -- __constant
3078 … __global float8 const * const transforms, // FIXME -- __constant
3079 … __global float4 const * const clips, // FIXME -- __constant
3080 … __global union skc_cmd_rasterize const * const cmds, // FIXME -- __constant
3187 … __global float8 const * const transforms, // FIXME -- __constant
3188 … __global float4 const * const clips, // FIXME -- __constant
3189 … __global union skc_cmd_rasterize const * const cmds, // FIXME -- __constant
3292 … __global float8 const * const transforms, // FIXME -- __constant
[all …]
/external/skia/src/compute/skc/
Dmacros.h28 #define SKC_CONSTANT __constant
/external/skqp/src/compute/skc/
Dmacros.h28 #define SKC_CONSTANT __constant
/external/ImageMagick/MagickCore/
Daccelerate-kernels-private.h904 __constant float *filter,const unsigned int width,
960 __constant float *filter,const unsigned int width,
1257 __constant float *filter, const unsigned int filterWidth, const unsigned int filterHeight,
1380__constant float *filter, const unsigned int filterWidth, const unsigned int filterHeight,
1701 const unsigned int number_parameters,__constant float *parameters)
1768 __constant float *parameters)
2799 const float2 blurCenter,__constant float *cos_theta,
2800 __constant float *sin_theta,const unsigned int cossin_theta_size,
2947 const ChannelType channel,__constant float *filter,const unsigned int width,
/external/clang/lib/Headers/
Dvecintrin.h30 #define __constant(PARM) \ macro
1087 __constant(__mask) { in vec_genmask()
1111 __constant(__first) __constant(__last) { in vec_genmasks_8()
1124 __constant(__first) __constant(__last) { in vec_genmasks_16()
1137 __constant(__first) __constant(__last) { in vec_genmasks_32()
1150 __constant(__first) __constant(__last) { in vec_genmasks_64()
1245 __constant(__scalar) { in vec_splat_s8()
1251 __constant(__scalar) { in vec_splat_s16()
1257 __constant(__scalar) { in vec_splat_s32()
1263 __constant(__scalar) { in vec_splat_s64()
[all …]
Dopencl-c.h12661 char2 __ovld vload2(size_t offset, const __constant char *p);
12662 uchar2 __ovld vload2(size_t offset, const __constant uchar *p);
12663 short2 __ovld vload2(size_t offset, const __constant short *p);
12664 ushort2 __ovld vload2(size_t offset, const __constant ushort *p);
12665 int2 __ovld vload2(size_t offset, const __constant int *p);
12666 uint2 __ovld vload2(size_t offset, const __constant uint *p);
12667 long2 __ovld vload2(size_t offset, const __constant long *p);
12668 ulong2 __ovld vload2(size_t offset, const __constant ulong *p);
12669 float2 __ovld vload2(size_t offset, const __constant float *p);
12670 char3 __ovld vload3(size_t offset, const __constant char *p);
[all …]

12