Searched refs:half2 (Results 1 – 12 of 12) sorted by relevance
/external/eigen/Eigen/src/Core/arch/CUDA/ |
D | PacketMathHalf.h | 20 template<> struct is_arithmetic<half2> { enum { value = true }; }; 24 typedef half2 type; 25 typedef half2 half; 42 template<> struct unpacket_traits<half2> { typedef Eigen::half type; enum {size=2, alignment=Aligne… 44 template<> __device__ EIGEN_STRONG_INLINE half2 pset1<half2>(const Eigen::half& from) { 48 template<> __device__ EIGEN_STRONG_INLINE half2 pload<half2>(const Eigen::half* from) { 49 return *reinterpret_cast<const half2*>(from); 52 template<> __device__ EIGEN_STRONG_INLINE half2 ploadu<half2>(const Eigen::half* from) { 56 template<> EIGEN_STRONG_INLINE half2 ploaddup<half2>(const Eigen::half* from) { 60 template<> __device__ EIGEN_STRONG_INLINE void pstore<Eigen::half>(Eigen::half* to, const half2& fr… [all …]
|
D | TypeCasting.h | 83 …e<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE float4 pcast<half2, float4>(const half2& a, const half2&… 98 template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE half2 pcast<float4, half2>(const float4& a) {
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
D | TensorReductionCuda.h | 84 __device__ inline void atomicReduce(half2* output, half2 accum, R<half>& reducer) { in atomicReduce() 87 reducer.reducePacket(accum, reinterpret_cast<half2*>(&newval)); in atomicReduce() 95 reducer.reducePacket(accum, reinterpret_cast<half2*>(&newval)); in atomicReduce() 191 …InitFullReduxKernelHalfFloat(Reducer reducer, const Self input, Index num_coeffs, half2* scratch) { in ReductionInitFullReduxKernelHalfFloat() 198 *scratch = reducer.template initializePacket<half2>(); in ReductionInitFullReduxKernelHalfFloat() 209 ((half2*)output)[i] = reducer.template initializePacket<half2>(); in ReductionInitKernelHalfFloat() 220 half* output, half2* scratch) { in FullReductionKernelHalfFloat() 231 *scratch = reducer.template initializePacket<half2>(); in FullReductionKernelHalfFloat() 236 half2 accum = reducer.template initializePacket<half2>(); in FullReductionKernelHalfFloat() 241 half2 val = input.m_impl.template packet<Unaligned>(index); in FullReductionKernelHalfFloat() [all …]
|
D | TensorReduction.h | 331 __global__ void ReductionInitFullReduxKernelHalfFloat(R, const S, I, half2*); 333 __global__ void FullReductionKernelHalfFloat(R, const S, I, half*, half2*); 685 … R, typename I> friend void internal::ReductionInitFullReduxKernelHalfFloat(R, const S, I, half2*); 686 …me R, typename I> friend void internal::FullReductionKernelHalfFloat(R, const S, I, half*, half2*);
|
D | TensorMeta.h | 58 typedef half2 type;
|
/external/eigen/Eigen/src/Core/ |
D | Reverse.h | 147 Index half2 = rows()/2; 148 col(half).head(half2).swap(col(half).tail(half2).reverse()); 157 Index half2 = cols()/2; 158 row(half).head(half2).swap(row(half).tail(half2).reverse());
|
/external/clang/lib/Headers/ |
D | opencl-c.h | 125 typedef half half2 __attribute__((ext_vector_type(2))); typedef 5705 uchar2 __ovld __cnfn convert_uchar2(half2); 5706 uchar2 __ovld __cnfn convert_uchar2_rte(half2); 5707 uchar2 __ovld __cnfn convert_uchar2_rtp(half2); 5708 uchar2 __ovld __cnfn convert_uchar2_rtn(half2); 5709 uchar2 __ovld __cnfn convert_uchar2_rtz(half2); 5710 uchar2 __ovld __cnfn convert_uchar2_sat(half2); 5711 uchar2 __ovld __cnfn convert_uchar2_sat_rte(half2); 5712 uchar2 __ovld __cnfn convert_uchar2_sat_rtp(half2); 5713 uchar2 __ovld __cnfn convert_uchar2_sat_rtn(half2); [all …]
|
/external/spirv-llvm/lib/SPIRV/runtime/OpenCL/inc/ |
D | spirv_convert.h | 31 __attribute__((overloadable)) uchar2 __spirv_ConvertFToU_Ruchar2(half2); 32 __attribute__((overloadable)) uchar2 __spirv_ConvertFToU_Ruchar2_rtz(half2); 33 __attribute__((overloadable)) uchar2 __spirv_ConvertFToU_Ruchar2_rte(half2); 34 __attribute__((overloadable)) uchar2 __spirv_ConvertFToU_Ruchar2_rtp(half2); 35 __attribute__((overloadable)) uchar2 __spirv_ConvertFToU_Ruchar2_rtn(half2); 36 __attribute__((overloadable)) uchar2 __spirv_ConvertFToU_Ruchar2_sat(half2); 37 __attribute__((overloadable)) uchar2 __spirv_ConvertFToU_Ruchar2_sat_rtz(half2); 38 __attribute__((overloadable)) uchar2 __spirv_ConvertFToU_Ruchar2_sat_rte(half2); 39 __attribute__((overloadable)) uchar2 __spirv_ConvertFToU_Ruchar2_sat_rtp(half2); 40 __attribute__((overloadable)) uchar2 __spirv_ConvertFToU_Ruchar2_sat_rtn(half2); [all …]
|
/external/spirv-llvm/test/SPIRV/transcoding/ |
D | relationals_half.ll | 103 !7 = !{!"kernel_arg_type", !"short2*", !"half2"} 104 !8 = !{!"kernel_arg_base_type", !"short2*", !"half2"}
|
/external/llvm/test/CodeGen/SystemZ/ |
D | branch-06.ll | 183 %half2 = load i16 , i16 *%targetptr2 185 %ext2 = zext i16 %half2 to i32
|
D | vec-combine-02.ll | 336 %half2 = bitcast <2 x i32> %low2 to <4 x i16> 344 %hlow1 = shufflevector <4 x i16> %half2, <4 x i16> %half3,
|
/external/skia/src/pathops/ |
D | SkPathOpsTSect.h | 2192 SkTSpan<OppCurve, TCurve>* half2 = sect2->addOne(); in BinarySearch() local 2193 SkDEBUGCODE(half2->debugSetGlobalState(sect2->globalState())); in BinarySearch() 2194 if (!half2->split(largest2, §2->fHeap)) { in BinarySearch() 2201 if (!sect2->trim(half2, sect1)) { in BinarySearch()
|