Home
last modified time | relevance | path

Searched refs:InType (Results 1 – 11 of 11) sorted by relevance

/external/gemmlowp/meta/
Dstreams.h47 template <typename InType>
48 class StreamUtil<InType, RowMajor> {
50 static const InType* Offset(const RowMajor& params, const InType* source, in Offset()
52 return reinterpret_cast<const InType*>( in Offset()
54 offset_stride * params.stride + offset_advance * sizeof(InType)); in Offset()
57 static InType* Offset(const RowMajor& params, InType* source, in Offset()
59 return reinterpret_cast<InType*>(reinterpret_cast<std::uint8_t*>(source) + in Offset()
61 offset_advance * sizeof(InType)); in Offset()
69 template <typename InType>
70 class StreamUtil<InType, RowMajorWithSum> {
[all …]
Dtransform_kernels.h70 template <typename InType, typename OutType, int kernel_size, int leftovers>
71 class Transform1DKernel<InType, OutType, Quantize, kernel_size, leftovers> {
73 static void Transform(const InType* in, const Quantize& params, in Transform()
77 std::cout << "Quantize::Transform(" << std::string(typeid(InType).name()) in Transform()
88 template <typename InType, typename OutType, int kernel_size, int leftovers>
89 class Transform1DKernel<InType, OutType, Dequantize, kernel_size, leftovers> {
91 static void Transform(const InType* in, const Dequantize& params, in Transform()
95 std::cout << "Dequantize::Transform(" << std::string(typeid(InType).name()) in Transform()
106 template <typename InType, typename OutType, int kernel_size, int leftovers>
107 class Transform1DKernel<InType, OutType, Requantize, kernel_size, leftovers> {
[all …]
Dbase.h49 typedef InType_ InType; typedef
64 const InType* lhs;
65 const InType* rhs;
76 template <typename InType, int lanes_count, int pack_size, int leftovers,
80 static void Pack(const InType* in, const StreamParams& params, InType* out);
91 template <typename InType, typename StreamType>
94 static const InType* Offset(const StreamType& params, const InType* source,
100 template <typename InType, typename OutType, typename Kernel,
104 static void Multiply(const InType* lhs, const InType* rhs,
111 typedef InType_ InType; typedef
[all …]
Dsingle_thread_gemm.h34 StreamUtil<typename P::InType, typename P::LeftStream>::Scratch( in EstimateScratchSize()
39 StreamUtil<typename P::InType, typename P::RightStream>::Scratch( in EstimateScratchSize()
48 typedef typename P::InType InType; in ExecuteDispatch3D() typedef
51 typedef Stream<typename P::InType, m, k, k_leftovers, in ExecuteDispatch3D()
54 typedef Stream<typename P::InType, m_leftovers, k, k_leftovers, in ExecuteDispatch3D()
58 typedef Stream<typename P::InType, n, k, k_leftovers, in ExecuteDispatch3D()
61 typedef Stream<typename P::InType, n_leftovers, k, k_leftovers, in ExecuteDispatch3D()
71 typedef MulKernel<typename P::InType, typename P::OutType, in ExecuteDispatch3D()
74 typedef MulKernel<typename P::InType, typename P::OutType, in ExecuteDispatch3D()
78 typedef MulKernel<typename P::InType, typename P::OutType, in ExecuteDispatch3D()
[all …]
Dquantized_mul_kernels.h35 template <typename InType, typename OutType, int m, int n, int k>
36 class MulKernel<InType, OutType, QuantizedStaticPreprocessed, RowMajor, m, n,
41 static void Multiply(const InType* lhs, const InType*, in Multiply() argument
45 std::cout << "MulQSPR(" << typeid(InType).name() << ", " in Multiply()
61 std::cout << "MulQSPR(" << typeid(InType).name() << ", " in Debug()
83 template <typename InType, typename OutType, int m, int n, int k>
84 class MulKernel<InType, OutType, QuantizedStaticPreprocessedAsInt32, RowMajor,
90 static void Multiply(const InType* lhs, const InType*, in Multiply() argument
94 std::cout << "MulQSPI32R(" << typeid(InType).name() << ", " in Multiply()
110 std::cout << "MulQSPI32R(" << typeid(InType).name() << ", " in Debug()
[all …]
Dmulti_thread_gemm.h39 StreamUtil<typename Params::InType, typename Params::LeftStream>::Offset( in PrepareGemmTask()
44 StreamUtil<typename Params::InType, typename Params::RightStream>::Offset( in PrepareGemmTask()
Dsingle_thread_transform.h33 Transform1DKernel<typename P::InType, typename P::OutType, in ExecuteDispatch1D()
Dmulti_thread_transform.h32 typedef Transform1DUtil<typename Params::InType, typename Params::OutType, in PrepareTransform1DTasks()
/external/angle/src/libANGLE/
Dqueryconversions.h90 template <typename InType, typename OutType>
91 void ConvertGLenumValue(InType param, OutType *out)
/external/tensorflow/tensorflow/python/lib/core/
Dbfloat16.cc714 template <typename InType, typename OutType, typename Functor>
717 return {TypeDescriptor<InType>::Dtype(), TypeDescriptor<OutType>::Dtype()}; in Types()
724 auto x = *reinterpret_cast<const typename TypeDescriptor<InType>::T*>(i0); in Call()
732 template <typename InType, typename OutType, typename OutType2,
736 return {TypeDescriptor<InType>::Dtype(), TypeDescriptor<OutType>::Dtype(), in Types()
745 auto x = *reinterpret_cast<const typename TypeDescriptor<InType>::T*>(i0); in Call()
756 template <typename InType, typename OutType, typename Functor>
759 return {TypeDescriptor<InType>::Dtype(), TypeDescriptor<InType>::Dtype(), in Types()
768 auto x = *reinterpret_cast<const typename TypeDescriptor<InType>::T*>(i0); in Call()
769 auto y = *reinterpret_cast<const typename TypeDescriptor<InType>::T*>(i1); in Call()
[all …]
/external/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
DAppleObjCDeclVendor.cpp188 enum ParserState { Start = 0, InType, InPos } state = Start; in ObjCRuntimeMethodType() enumerator
204 state = InType; in ObjCRuntimeMethodType()
224 case InType: { in ObjCRuntimeMethodType()
276 state = InType; in ObjCRuntimeMethodType()