Home
last modified time | relevance | path

Searched refs:ScalarType (Results 1 – 25 of 44) sorted by relevance

12

/external/gemmlowp/test/
Dtest_fixedpoint.cc125 using ScalarType = typename SimdTypeTraits::ScalarRawType; typedef in gemmlowp::__anon6f94b9cb0111::TestFixedPoint
127 static constexpr int kScalarTypeBits = 8 * sizeof(ScalarType);
150 ScalarType MinInput() const { in MinInput()
151 return std::numeric_limits<ScalarType>::min(); in MinInput()
155 ScalarType MaxInput() const { in MaxInput()
156 return std::numeric_limits<ScalarType>::max(); in MaxInput()
165 ScalarType Tolerance() const { return 0; } in Tolerance()
172 ScalarType ReferenceOp(ScalarType x) const { in ReferenceOp()
174 return static_cast<ScalarType>(std::round(d)); in ReferenceOp()
189 ScalarType ReferenceOp(ScalarType x) const { in ReferenceOp()
[all …]
/external/deqp/framework/referencerenderer/
DrrGenericVector.hpp69 template<typename ScalarType>
70 explicit GenericVec4 (const tcu::Vector<ScalarType, 4>& value) in GenericVec4() argument
92 template<typename ScalarType>
93 GenericVec4& operator= (const tcu::Vector<ScalarType, 4>& value) in operator =() argument
95 getAccess<ScalarType>()[0] = value[0]; in operator =()
96 getAccess<ScalarType>()[1] = value[1]; in operator =()
97 getAccess<ScalarType>()[2] = value[2]; in operator =()
98 getAccess<ScalarType>()[3] = value[3]; in operator =()
102 template<typename ScalarType>
103 inline tcu::Vector<ScalarType, 4> get (void) const in get()
[all …]
DrrVertexAttrib.hpp136 template<typename ScalarType>
137 explicit VertexAttrib (const tcu::Vector<ScalarType, 4>& generic_) in VertexAttrib()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Druntime_conv2d_impl.h31 template <typename EigenDevice, typename ScalarType>
32 void EigenConvImpl(const EigenDevice& device, ScalarType* out, ScalarType* lhs, in EigenConvImpl()
33 ScalarType* rhs, Eigen::Index input_batch, in EigenConvImpl()
44 const Eigen::TensorMap<Eigen::Tensor<const ScalarType, 4, Eigen::RowMajor>, in EigenConvImpl()
48 const Eigen::TensorMap<Eigen::Tensor<const ScalarType, 4, Eigen::RowMajor>, in EigenConvImpl()
52 Eigen::TensorMap<Eigen::Tensor<ScalarType, 4, Eigen::RowMajor>, in EigenConvImpl()
85 padding_bottom, static_cast<ScalarType>(0.0f)) in EigenConvImpl()
Druntime_conv2d_mkl.cc51 template <typename EigenDevice, typename ScalarType>
52 void MKLConvImpl(const EigenDevice& device, ScalarType* out, ScalarType* lhs, in MKLConvImpl()
53 ScalarType* rhs, int64 input_batch, int64 input_rows, in MKLConvImpl()
/external/gemmlowp/internal/
Dsimd_wrappers.h27 template <typename ScalarType, int ScalarCount>
29 using Type = ScalarType;
46 using ScalarType = tScalarType; member
48 using RegisterType = typename RegisterType<ScalarType, kScalarCount>::Type;
51 static_assert(sizeof(RegisterType) % sizeof(ScalarType) == 0, "");
53 sizeof(RegisterType) / sizeof(ScalarType);
55 (kScalarCount * sizeof(ScalarType) + sizeof(RegisterType) - 1) /
63 using ScalarType = tScalarType; member
67 using BufferType = RegisterBuffer<ScalarType, kScalarCount>;
145 using ScalarType = typename Lhs::ScalarType;
[all …]
Doutput.h51 using OutputScalarType = typename OutputBufferType::ScalarType;
514 template <typename ScalarType, int Rows, int Cols, typename DstType>
515 struct StoreFinalOutputImpl<RegisterBlock<ScalarType, Rows, Cols>, DstType> {
516 using RegisterBlockType = RegisterBlock<ScalarType, Rows, Cols>;
551 OutputPipelineType, 0, InputType>::Type::BufferType::ScalarType
/external/tensorflow/tensorflow/core/kernels/
Dreduction_ops.h62 #define CASTING_SPECIALIZATION(Reducer, ScalarType, IntermediateType) \
66 Reducer<ScalarType>> { \
69 const Reducer<ScalarType>& reducer) { \
70 static_assert(std::is_same<ScalarType, typename OUT_T::Scalar>::value, \
76 .template cast<ScalarType>(); \
99 #define CASTING_SPECIALIZATION(ScalarType, IntermediateType) \
103 functor::MeanReducer<ScalarType>> { \
106 const functor::MeanReducer<ScalarType>& reducer) { \
107 static_assert(std::is_same<ScalarType, typename OUT_T::Scalar>::value, \
113 .template cast<ScalarType>(); \
/external/llvm-project/clang/utils/TableGen/
DMveEmitter.cpp237 class ScalarType : public CRegularNamedType { class
243 ScalarType(const Record *Record) : CRegularNamedType(TypeKind::Scalar) { in ScalarType() function in __anonf88c1dfe0111::ScalarType
289 const ScalarType *Element;
293 VectorType(const ScalarType *Element, unsigned Lanes) in VectorType()
598 const ScalarType *IntegerType;
600 IntLiteralResult(const ScalarType *IntegerType, uint32_t IntegerValue) in IntLiteralResult()
619 const ScalarType *IntegerType;
621 IntCastResult(const ScalarType *IntegerType, Ptr V) in IntCastResult()
973 std::map<std::string, std::unique_ptr<ScalarType>> ScalarTypes;
989 const ScalarType *getScalarType(StringRef Name) { in getScalarType()
[all …]
/external/llvm/test/tools/llvm-cxxdump/
Deh.test143 COFF-I386: __CT??_R0?AUA@@@84[Flags.ScalarType]: false
152 COFF-I386: __CT??_R0?AUA@@@84044[Flags.ScalarType]: false
161 COFF-I386: __CT??_R0?AUB@@@844[Flags.ScalarType]: false
170 COFF-I386: __CT??_R0?AUC@@@84048[Flags.ScalarType]: false
179 COFF-I386: __CT??_R0?AUM@@@88[Flags.ScalarType]: false
188 COFF-I386: __CT??_R0?AUS@@@8??0S@@QAE@ABU0@@Z16[Flags.ScalarType]: false
197 COFF-I386: __CT??_R0?AW4E@@@84[Flags.ScalarType]: true
206 COFF-I386: __CT??_R0PAUA@@@84044[Flags.ScalarType]: true
215 COFF-I386: __CT??_R0PAUC@@@84048[Flags.ScalarType]: true
224 COFF-I386: __CT??_R0PAUS@@@84[Flags.ScalarType]: true
[all …]
/external/llvm-project/llvm/test/tools/llvm-cxxdump/
Deh.test143 COFF-I386: __CT??_R0?AUA@@@84[Flags.ScalarType]: false
152 COFF-I386: __CT??_R0?AUA@@@84044[Flags.ScalarType]: false
161 COFF-I386: __CT??_R0?AUB@@@844[Flags.ScalarType]: false
170 COFF-I386: __CT??_R0?AUC@@@84048[Flags.ScalarType]: false
179 COFF-I386: __CT??_R0?AUM@@@88[Flags.ScalarType]: false
188 COFF-I386: __CT??_R0?AUS@@@8??0S@@QAE@ABU0@@Z16[Flags.ScalarType]: false
197 COFF-I386: __CT??_R0?AW4E@@@84[Flags.ScalarType]: true
206 COFF-I386: __CT??_R0PAUA@@@84044[Flags.ScalarType]: true
215 COFF-I386: __CT??_R0PAUC@@@84048[Flags.ScalarType]: true
224 COFF-I386: __CT??_R0PAUS@@@84[Flags.ScalarType]: true
[all …]
/external/tensorflow/tensorflow/lite/kernels/
Dmatrix_set_diag_test.cc77 MatrixSetDiagOpModel<typename TypeParam::ScalarType> model( in TYPED_TEST()
79 model.template PopulateTensor<typename TypeParam::ScalarType>(model.input(), in TYPED_TEST()
83 model.template PopulateTensor<typename TypeParam::ScalarType>(model.diag(), in TYPED_TEST()
Dmatrix_diag_test.cc71 MatrixDiagOpModel<typename TypeParam::ScalarType> model( in TYPED_TEST()
73 model.template PopulateTensor<typename TypeParam::ScalarType>(model.input(), in TYPED_TEST()
Dtest_util.h946 typedef float ScalarType;
956 typedef int32_t ScalarType;
966 typedef uint32_t ScalarType;
976 typedef int16_t ScalarType;
986 typedef int8_t ScalarType;
996 typedef uint8_t ScalarType;
/external/llvm-project/mlir/lib/Dialect/SPIRV/
DSPIRVTypes.cpp185 return type.getRank() == 1 && type.getElementType().isa<ScalarType>(); in isValid()
231 return type.getElementType().cast<ScalarType>().getExtensions( in getExtensions()
251 return type.getElementType().cast<ScalarType>().getCapabilities( in getCapabilities()
264 vectorType.getElementType().cast<ScalarType>().getSizeInBytes(); in getSizeInBytes()
558 bool ScalarType::classof(Type type) { in classof()
568 bool ScalarType::isValid(FloatType type) { return !type.isBF16(); } in isValid()
570 bool ScalarType::isValid(IntegerType type) { in isValid()
583 void ScalarType::getExtensions(SPIRVType::ExtensionArrayRefVector &extensions, in getExtensions()
614 void ScalarType::getCapabilities( in getCapabilities()
698 Optional<int64_t> ScalarType::getSizeInBytes() { in getSizeInBytes()
[all …]
DSPIRVLowering.cpp161 if (t.isa<spirv::ScalarType>()) { in getTypeNumBytes()
234 convertScalarType(const spirv::TargetEnv &targetEnv, spirv::ScalarType type, in convertScalarType()
293 targetEnv, type.getElementType().cast<spirv::ScalarType>(), storageClass);
314 auto scalarType = type.getElementType().dyn_cast<spirv::ScalarType>(); in convertTensorType()
357 } else if (auto scalarType = elementType.dyn_cast<spirv::ScalarType>()) { in convertMemrefType()
432 if (auto scalarType = intType.dyn_cast<spirv::ScalarType>()) in SPIRVTypeConverter()
438 if (auto scalarType = floatType.dyn_cast<spirv::ScalarType>()) in SPIRVTypeConverter()
DLayoutUtils.cpp81 if (type.isa<spirv::ScalarType>()) { in decorateType()
/external/deqp/framework/common/
DtcuTexLookupVerifier.cpp55 template<typename ScalarType>
56 inline Vector<ScalarType, 4> lookup (const ConstPixelBufferAccess& access, const Sampler& sampler, … in lookup()
59 return access.getPixelT<ScalarType>(i, j, k); in lookup()
61 return sampleTextureBorder<ScalarType>(access.getFormat(), sampler); in lookup()
564 template<typename PrecType, typename ScalarType>
570 const Vector<ScalarType, 4>& result) in isNearestSampleResultValid() argument
582 const Vector<ScalarType, 4> color = lookup<ScalarType>(level, sampler, x, coordY, 0); in isNearestSampleResultValid()
591 template<typename PrecType, typename ScalarType>
597 const Vector<ScalarType, 4>& result) in isNearestSampleResultValid() argument
616 const Vector<ScalarType, 4> color = lookup<ScalarType>(level, sampler, x, y, coordZ); in isNearestSampleResultValid()
[all …]
DtcuTextureUtil.hpp181 template <typename ScalarType>
182 tcu::Vector<ScalarType, 4> sampleTextureBorder (const TextureFormat& format, const Sampler& sa…
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageSamplingInstance.cpp992 template<typename ScalarType>
993 ScalarType getSwizzledComp (const tcu::Vector<ScalarType, 4>& vec, vk::VkComponentSwizzle comp, int… in getSwizzledComp() argument
998 return ScalarType(0); in getSwizzledComp()
1000 return ScalarType(1); in getSwizzledComp()
1005 template<typename ScalarType>
1006 tcu::Vector<ScalarType, 4> swizzle (const tcu::Vector<ScalarType, 4>& vec, const vk::VkComponentMap… in swizzle() argument
1008 return tcu::Vector<ScalarType, 4>(getSwizzledComp(vec, swz.r, 0), in swizzle()
1048 template<typename ScalarType>
1054 dst.setPixel(swizzle(src.getPixelT<ScalarType>(x, y, z), swz), x, y, z); in swizzleT()
/external/clang/lib/Sema/
DSemaTemplateVariadic.cpp1009 QualType ScalarType; in BuildEmptyCXXFoldExpr() local
1016 ScalarType = Context.VoidTy; in BuildEmptyCXXFoldExpr()
1025 ScalarType, Context.getTrivialTypeSourceInfo(ScalarType, EllipsisLoc), in BuildEmptyCXXFoldExpr()
/external/swiftshader/third_party/SPIRV-Tools/test/
Dname_mapper_test.cpp57 INSTANTIATE_TEST_SUITE_P(ScalarType, FriendlyNameTest,
/external/deqp-deps/SPIRV-Tools/test/
Dname_mapper_test.cpp57 INSTANTIATE_TEST_SUITE_P(ScalarType, FriendlyNameTest,
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/
Dname_mapper_test.cpp57 INSTANTIATE_TEST_SUITE_P(ScalarType, FriendlyNameTest,
/external/llvm-project/clang/lib/Sema/
DSemaTemplateVariadic.cpp1272 QualType ScalarType; in BuildEmptyCXXFoldExpr() local
1279 ScalarType = Context.VoidTy; in BuildEmptyCXXFoldExpr()
1288 ScalarType, Context.getTrivialTypeSourceInfo(ScalarType, EllipsisLoc), in BuildEmptyCXXFoldExpr()

12