Home
last modified time | relevance | path

Searched refs:FloatFormat (Results 1 – 24 of 24) sorted by relevance

/external/deqp/framework/common/
DtcuFloatFormat.cpp59 FloatFormat::FloatFormat (int minExp, in FloatFormat() function in tcu::FloatFormat
98 double FloatFormat::ulp (double x, double count) const in ulp()
133 int FloatFormat::exponentShift (int exp) const in exponentShift()
141 double FloatFormat::round (double d, bool upward) const in round()
155 Interval FloatFormat::clampValue (double d) const in clampValue()
173 Interval FloatFormat::convert (const Interval& x) const in convert()
202 double FloatFormat::roundOut (double d, bool upward, bool roundUnderOverflow) const in roundOut()
216 Interval FloatFormat::roundOut (const Interval& x, bool roundUnderOverflow) const in roundOut()
227 std::string FloatFormat::floatToHex (double x) const in floatToHex()
255 std::string FloatFormat::intervalToHex (const Interval& interval) const in intervalToHex()
[all …]
DtcuFloatFormat.hpp41 class FloatFormat class
45 FloatFormat (int minExp,
52 virtual ~FloatFormat() {} in ~FloatFormat()
70 static FloatFormat nativeFloat (void);
71 static FloatFormat nativeDouble (void);
87 class NormalizedFormat : public FloatFormat
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktSampleVerifier.hpp131 const std::vector<de::SharedPtr<tcu::FloatFormat>>& conversionPrecision,
132 const std::vector<de::SharedPtr<tcu::FloatFormat>>& filteringPrecision,
239 const std::vector<de::SharedPtr<tcu::FloatFormat>> m_conversionPrecision;
240 const std::vector<de::SharedPtr<tcu::FloatFormat>> m_filteringPrecision;
DvktTextureFilteringExplicitLodTests.cpp72 std::vector<de::SharedPtr<tcu::FloatFormat>> getPrecision (VkFormat format, int fpPrecisionDelta) in getPrecision()
74 std::vector<de::SharedPtr<tcu::FloatFormat>> floatFormats; in getPrecision()
75 …de::SharedPtr<tcu::FloatFormat> fp16 (new tcu::FloatFormat(-14, 15, std::max(0, 10 + fpPreci… in getPrecision()
76 …de::SharedPtr<tcu::FloatFormat> fp32 (new tcu::FloatFormat(-126, 127, std::max(0, 23 + fpPre… in getPrecision()
86 …floatFormats.push_back(de::SharedPtr<tcu::FloatFormat>(new tcu::NormalizedFormat(std::max(0,channe… in getPrecision()
90 …floatFormats.push_back(de::SharedPtr<tcu::FloatFormat>(new tcu::NormalizedFormat(std::max(0,channe… in getPrecision()
617 std::vector<de::SharedPtr<tcu::FloatFormat>> strictPrecision = getPrecision(m_imParams.format, 0); in verify()
618 …std::vector<de::SharedPtr<tcu::FloatFormat>> relaxedPrecision = tcuFormat.type == tcu::TextureForm… in verify()
DvktSampleVerifierUtil.cpp249 const FloatFormat& internalFormat, in calcUnnormalizedCoordRange()
619 const de::SharedPtr<FloatFormat>& internalFormat, in convertFP16()
633 const de::SharedPtr<tcu::FloatFormat>& internalFormat, in convertNormalizedInt()
779 const std::vector<de::SharedPtr<FloatFormat>>& internalFormat, in convertNormalizedFormat()
914 const std::vector<de::SharedPtr<FloatFormat>>& internalFormat, in convertFloatFormat()
955 const std::vector<de::SharedPtr<FloatFormat>>& internalFormat, in convertFormat()
DvktSampleVerifierUtil.hpp74 const tcu::FloatFormat& internalFormat,
104 const std::vector<de::SharedPtr<tcu::FloatFormat>>& internalFormat,
DvktSampleVerifier.cpp70 const std::vector<de::SharedPtr<tcu::FloatFormat>>& conversionPrecision, in SampleVerifier()
71 const std::vector<de::SharedPtr<tcu::FloatFormat>>& filteringPrecision, in SampleVerifier()
690 const FloatFormat coordFormat(-32, 32, 16, true); in verifySampleMipmapLevel()
/external/deqp/modules/glshared/
DglsBuiltinPrecisionTests.cpp95 using tcu::FloatFormat;
256 void printIVal (const FloatFormat& fmt, const typename Traits<T>::IVal& ival, ostream& os) in printIVal()
262 string intervalToString (const FloatFormat& fmt, const typename Traits<T>::IVal& ival) in intervalToString()
271 void printValue (const FloatFormat& fmt, const T& value, ostream& os) in printValue()
277 string valueToString (const FloatFormat& fmt, const T& val) in valueToString()
288 typename Traits<T>::IVal round (const FloatFormat& fmt, const T& value) in round()
294 typename Traits<T>::IVal convert (const FloatFormat& fmt, in convert()
328 static Interval doConvert (const FloatFormat& fmt, const IVal& ival) in doConvert()
333 static Interval doRound (const FloatFormat& fmt, T value) in doRound()
342 static void doPrintIVal (const FloatFormat& fmt, in doPrintIVal()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrUtil.hpp151 tcu::Interval getChannel (const tcu::FloatFormat& conversionFormat,
186 std::vector<tcu::FloatFormat> getPrecision (vk::VkFormat format);
203 const std::vector<tcu::FloatFormat>& filteringFormat,
204 const std::vector<tcu::FloatFormat>& conversionFormat,
DvktYCbCrUtil.cpp49 using tcu::FloatFormat;
857 tcu::Interval ChannelAccess::getChannel (const tcu::FloatFormat& conversionFormat, in getChannel()
1166 std::vector<tcu::FloatFormat> getPrecision (VkFormat format) in getPrecision()
1168 std::vector<FloatFormat> floatFormats; in getPrecision()
1172 floatFormats.push_back(tcu::FloatFormat(0, 0, channelDepth[channelIdx], false, tcu::YES)); in getPrecision()
1254 const tcu::FloatFormat& conversionFormat, in rangeExpandChroma()
1282 const tcu::FloatFormat& conversionFormat, in rangeExpandLuma()
1328 const vector<tcu::FloatFormat>& conversionFormat, in convertColor()
1419 tcu::Interval calculateUV (const tcu::FloatFormat& coordFormat, in calculateUV()
1426 tcu::IVec2 calculateNearestIJRange (const tcu::FloatFormat& coordFormat, in calculateNearestIJRange()
[all …]
DvktYCbCrFilteringTests.cpp399 const std::vector<tcu::FloatFormat> filteringPrecision (getPrecision(m_format)); in iterate()
400 const std::vector<tcu::FloatFormat> conversionPrecision (getPrecision(m_format)); in iterate()
DvktYCbCrConversionTests.cpp71 using tcu::FloatFormat;
664 const std::vector<FloatFormat> filteringPrecision (getPrecision(config.format)); in textureConversionTest()
665 const std::vector<FloatFormat> conversionPrecision (getPrecision(config.format)); in textureConversionTest()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderBuiltinPrecisionTests.cpp115 using tcu::FloatFormat;
303 void printIVal (const FloatFormat& fmt, const typename Traits<T>::IVal& ival, ostream& os) in printIVal()
309 string intervalToString (const FloatFormat& fmt, const typename Traits<T>::IVal& ival) in intervalToString()
318 void printValue16 (const FloatFormat& fmt, const T& value, ostream& os) in printValue16()
324 string value16ToString(const FloatFormat& fmt, const T& val) in value16ToString()
423 void printValue32 (const FloatFormat& fmt, const T& value, ostream& os) in printValue32()
429 string value32ToString (const FloatFormat& fmt, const T& val) in value32ToString()
437 void printValue64 (const FloatFormat& fmt, const T& value, ostream& os) in printValue64()
443 string value64ToString (const FloatFormat& fmt, const T& val) in value64ToString()
454 typename Traits<T>::IVal round (const FloatFormat& fmt, const T& value) in round()
[all …]
/external/llvm-project/clang/lib/Basic/Targets/
DAMDGPU.cpp405 assert(FloatFormat == Aux->FloatFormat); in setAuxTarget()
DTCE.h72 FloatFormat = &llvm::APFloat::IEEEsingle(); in TCETargetInfo()
/external/clang/lib/Basic/
DTargetInfo.cpp74 FloatFormat = &llvm::APFloat::IEEEsingle; in TargetInfo()
319 FloatFormat = &llvm::APFloat::IEEEsingle; in adjust()
DTargets.cpp7008 FloatFormat = &llvm::APFloat::IEEEsingle; in TCETargetInfo()
/external/clang/include/clang/Basic/
DTargetInfo.h81 const llvm::fltSemantics *HalfFormat, *FloatFormat, *DoubleFormat, variable
374 const llvm::fltSemantics &getFloatFormat() const { return *FloatFormat; } in getFloatFormat()
/external/llvm-project/clang/lib/Basic/
DTargetInfo.cpp107 FloatFormat = &llvm::APFloat::IEEEsingle(); in TargetInfo()
389 FloatFormat = &llvm::APFloat::IEEEsingle(); in adjust()
/external/llvm-project/clang/include/clang/Basic/
DTargetInfo.h106 const llvm::fltSemantics *HalfFormat, *BFloat16Format, *FloatFormat, member
633 const llvm::fltSemantics &getFloatFormat() const { return *FloatFormat; } in getFloatFormat()
/external/deqp/modules/gles31/functional/
Des31fShaderCommonFunctionTests.cpp2015 const tcu::FloatFormat formats[] = in fma()
2018 tcu::FloatFormat(0, 0, 7, false, tcu::YES, tcu::MAYBE, tcu::MAYBE), in fma()
2019 tcu::FloatFormat(-13, 13, 9, false, tcu::MAYBE, tcu::MAYBE, tcu::MAYBE), in fma()
2020 tcu::FloatFormat(-126, 127, 23, true, tcu::MAYBE, tcu::YES, tcu::MAYBE) in fma()
2022 …const tcu::FloatFormat& format = de::getSizedArrayElement<glu::PRECISION_LAST>(formats, precision); in fma()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmFloatControlsTests.cpp2503 FloatFormat fp32Format(-126, 127, 23, true, tcu::MAYBE, tcu::YES, tcu::MAYBE); in isAcosResultCorrect()
2508 FloatFormat fp16Format(-14, 15, 10, true, tcu::MAYBE); in isAcosResultCorrect()
2552 FloatFormat fp32Format(-126, 127, 23, true, tcu::MAYBE, tcu::YES, tcu::MAYBE); in getPrecisionAt()
2557 FloatFormat fp32Format(-1022, 1023, 52, true, tcu::MAYBE, tcu::YES, tcu::MAYBE); in getPrecisionAt()
2563 FloatFormat fp16Format(-14, 15, 10, true, tcu::MAYBE); in getPrecisionAt()
DvktSpvAsmInstructionTests.cpp14206 tcu::FloatFormat floatFormat16;
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemYCbCrConversionTests.cpp1005 const std::vector<tcu::FloatFormat> filteringPrecision (ycbcr::getPrecision(config.format)); in generateYCbCrImage()
1006 const std::vector<tcu::FloatFormat> conversionPrecision (ycbcr::getPrecision(config.format)); in generateYCbCrImage()