Home
last modified time | relevance | path

Searched refs:double4 (Results 1 – 21 of 21) sorted by relevance

/external/clang/test/CodeGenOpenCL/
Dlogical-ops.cl8 typedef double double4 __attribute((ext_vector_type(4)));
35 kernel void doubleops(global long4 *out, global double4 *dout) {
37 out[0] = (double4)(1, 1, 1, 1) && 1.0;
39 out[1] = (double4)(0, 0, 0, 0) && (double4)(0, 0, 0, 0);
42 out[2] = (double4)(0, 0, 0, 0) || (double4)(1, 1, 1, 1);
44 out[3] = (double4)(0, 0, 0, 0) || 0.0f;
47 out[4] = !(double4)(0, 0, 0, 0);
49 out[5] = !(double4)(1, 2, 3, 4);
51 out[6] = !(double4)(0, 1, 0, 1);
53 dout[0] = (double4)(!0.0f);
[all …]
/external/clang/test/SemaOpenCL/
Dinvalid-logical-ops-1.2.cl5 typedef __attribute__((ext_vector_type(4))) double double4;
49 double4 f4 = (double4)(0, 0, 0, 0);
52 double4 f4baf = f4 & 0.0; // expected-error {{invalid operands}}
53 double4 f4bof = f4 | 0.0; // expected-error {{invalid operands}}
54 double4 f4bxf = f4 ^ 0.0; // expected-error {{invalid operands}}
Dinvalid-logical-ops-1.1.cl5 typedef __attribute__((ext_vector_type(4))) double double4;
49 double4 f4 = (double4)(0, 0, 0, 0);
52 double4 f4baf = f4 & 0.0; // expected-error {{invalid operands}}
53 double4 f4bof = f4 | 0.0; // expected-error {{invalid operands}}
54 double4 f4bxf = f4 ^ 0.0; // expected-error {{invalid operands}}
/external/clang/test/Parser/
Dopencl-astype.cl11 typedef __attribute__(( ext_vector_type(4) )) double double4;
14double4 d4 = __builtin_astype(f4, double4); // expected-error{{invalid reinterpretation: sizes of …
/external/opencv3/modules/cudaarithm/src/cuda/
Dmul_scalar.cu105 …, double, double2>, mulScalarImpl<uchar3, double, double3>, mulScalarImpl<uchar4, double, double4>} in mulScalar()
114 …r2, double, double2>, mulScalarImpl<char3, double, double3>, mulScalarImpl<char4, double, double4>} in mulScalar()
123 …double, double2>, mulScalarImpl<ushort3, double, double3>, mulScalarImpl<ushort4, double, double4>} in mulScalar()
132 …, double, double2>, mulScalarImpl<short3, double, double3>, mulScalarImpl<short4, double, double4>} in mulScalar()
141 …int2, double, double2>, mulScalarImpl<int3, double, double3>, mulScalarImpl<int4, double, double4>} in mulScalar()
150 …, double, double2>, mulScalarImpl<float3, double, double3>, mulScalarImpl<float4, double, double4>} in mulScalar()
159 …double, double2>, mulScalarImpl<double3, double, double3>, mulScalarImpl<double4, double, double4>} in mulScalar()
Dadd_scalar.cu108 …, double, double2>, addScalarImpl<uchar3, double, double3>, addScalarImpl<uchar4, double, double4>} in addScalar()
117 …r2, double, double2>, addScalarImpl<char3, double, double3>, addScalarImpl<char4, double, double4>} in addScalar()
126 …double, double2>, addScalarImpl<ushort3, double, double3>, addScalarImpl<ushort4, double, double4>} in addScalar()
135 …, double, double2>, addScalarImpl<short3, double, double3>, addScalarImpl<short4, double, double4>} in addScalar()
144 …int2, double, double2>, addScalarImpl<int3, double, double3>, addScalarImpl<int4, double, double4>} in addScalar()
153 …, double, double2>, addScalarImpl<float3, double, double3>, addScalarImpl<float4, double, double4>} in addScalar()
162 …double, double2>, addScalarImpl<double3, double, double3>, addScalarImpl<double4, double, double4>} in addScalar()
Dsub_scalar.cu131 …, double, double2>, subScalarImpl<uchar3, double, double3>, subScalarImpl<uchar4, double, double4>} in subScalar()
140 …r2, double, double2>, subScalarImpl<char3, double, double3>, subScalarImpl<char4, double, double4>} in subScalar()
149 …double, double2>, subScalarImpl<ushort3, double, double3>, subScalarImpl<ushort4, double, double4>} in subScalar()
158 …, double, double2>, subScalarImpl<short3, double, double3>, subScalarImpl<short4, double, double4>} in subScalar()
167 …int2, double, double2>, subScalarImpl<int3, double, double3>, subScalarImpl<int4, double, double4>} in subScalar()
176 …, double, double2>, subScalarImpl<float3, double, double3>, subScalarImpl<float4, double, double4>} in subScalar()
185 …double, double2>, subScalarImpl<double3, double, double3>, subScalarImpl<double4, double, double4>} in subScalar()
Ddiv_scalar.cu173 …, double, double2>, divScalarImpl<uchar3, double, double3>, divScalarImpl<uchar4, double, double4>} in divScalar()
182 …r2, double, double2>, divScalarImpl<char3, double, double3>, divScalarImpl<char4, double, double4>} in divScalar()
191 …double, double2>, divScalarImpl<ushort3, double, double3>, divScalarImpl<ushort4, double, double4>} in divScalar()
200 …, double, double2>, divScalarImpl<short3, double, double3>, divScalarImpl<short4, double, double4>} in divScalar()
209 …int2, double, double2>, divScalarImpl<int3, double, double3>, divScalarImpl<int4, double, double4>} in divScalar()
218 …, double, double2>, divScalarImpl<float3, double, double3>, divScalarImpl<float4, double, double4>} in divScalar()
227 …double, double2>, divScalarImpl<double3, double, double3>, divScalarImpl<double4, double, double4>} in divScalar()
/external/clang/test/SemaTemplate/
Dinstantiate-clang.cpp9 typedef __attribute__(( ext_vector_type(4) )) double double4; typedef
13 void f(T v1, double4 v2) { in f()
19 template struct ExtVectorAccess0<double4>;
/external/llvm/test/CodeGen/X86/
Dsse3-avx-addsub.ll10 ; typedef double double4 __attribute__((ext_vector_type(4)));
26 ; double4 test3(double4 A, double4 B) {
27 ; double4 X = A - B;
28 ; double4 Y = A + B;
29 ; return (double4){X[0], Y[1], X[2], Y[3]};
/external/opencv3/modules/cudalegacy/src/cuda/
DNCVPixelOperations.hpp85 template<> struct TConvVec2Base<double4> {typedef Ncv64f TBase;};
104 template<> struct TConvBase2Vec<Ncv64f, 4> {typedef double4 TVec;};
133 template<> inline __host__ __device__ double4 _pixMakeZero<double4>() {return make_double4(0.,0.,0.… in _pixMakeZero()
149 static inline __host__ __device__ double4 _pixMake(Ncv64f x, Ncv64f y, Ncv64f z, Ncv64f w) {return … in _pixMake()
332 template<> struct TAccPixWeighted<uchar4> {typedef double4 type;};
335 template<> struct TAccPixWeighted<ushort4> {typedef double4 type;};
338 template<> struct TAccPixWeighted<float4> {typedef double4 type;};
DNCVPyramid.cu132 template<> struct __average4_CN<double4, 4> {
133 static __host__ __device__ double4 _average4_CN(const double4 &p00, const double4 &p01, const doubl… in _average4_CN()
135 double4 out; in _average4_CN()
/external/llvm/test/CodeGen/SystemZ/
Dfp-move-02.ll134 %double4 = load volatile double , double *@dptr
135 %biased4 = fadd double %double4, %extra
198 %double4 = bitcast i64 %masked4 to double
222 %add4 = fadd double %add3, %double4
334 %double4 = phi double [ 1.0, %entry ], [ %mul4, %loop ]
346 %mul4 = fmul double %double4, %factor
/external/opencv3/modules/core/src/cuda/
Dgpu_mat.cu295 {copyWithMask<double>, copyWithMask<double2>, copyWithMask<double3>, copyWithMask<double4>} in copyTo()
378 …oWithOutMask<double>,setToWithOutMask<double2>,setToWithOutMask<double3>,setToWithOutMask<double4>} in setTo()
409 {setToWithMask<double>,setToWithMask<double2>,setToWithMask<double3>,setToWithMask<double4>} in setTo()
/external/opencv3/modules/core/include/opencv2/core/cuda/detail/
Dtype_traits_detail.hpp121 template <> struct IsVec<double4> { enum {value = 1}; };
/external/opencv3/modules/cudev/include/opencv2/cudev/util/detail/
Dtype_traits.hpp105 template <> struct IsVec<double4> { enum {value = 1}; };
/external/vulkan-validation-layers/libs/glm/gtx/
Dcompatibility.hpp141 …typedef detail::tvec4<double, highp> double4; //!< \brief double-precision floating-point vector… typedef
/external/opencv3/modules/imgproc/src/opencl/
Dpyr_down.cl231 …d4(0, (__local double*) (&smem) + tid2 + (yin - y) * (LOCAL_SIZE + 4)), (double4)(co3, co2, co1, c…
/external/opencv3/modules/video/src/opencl/
Doptical_flow_farneback.cl66 #define VECTYPE double4
/external/opencv3/modules/core/include/opencv2/core/cuda/
Dvec_math.hpp136 template<typename T> static __device__ __forceinline__ T saturate_cast(const double4& v) {return ve… in saturate_cast()
/external/opencv3/modules/cudev/include/opencv2/cudev/util/
Dvec_math.hpp134 template<typename T> __device__ __forceinline__ T saturate_cast(const double4& v) { return vec_math… in saturate_cast()