Home
last modified time | relevance | path

Searched refs:deFloat32To16Round (Results 1 – 7 of 7) sorted by relevance

/external/deqp/framework/delibs/debase/
DdeFloat16.h43 deFloat16 deFloat32To16Round (float val32, deRoundingMode mode);
DdeFloat16Test.c50 return deFloat32To16Round(val32, DE_ROUNDINGMODE_TO_ZERO); in deFloat32To16RTZ()
55 return deFloat32To16Round(val32, DE_ROUNDINGMODE_TO_NEAREST_EVEN); in deFloat32To16RTE()
DdeFloat16.c211 deFloat16 deFloat32To16Round (float val32, deRoundingMode mode) in deFloat32To16Round() function
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderBuiltinPrecisionTests.cpp5529 …const deUint16 midpoint = deFloat32To16Round(static_cast<float>(inputRange.midpoint()), DE_ROUNDI… in genRandom()
5578 deFloat16 value16b = deFloat32To16Round(value, DE_ROUNDINGMODE_TO_NEAREST_EVEN); in genRandom()
5627 dst.push_back(deFloat32To16Round(sign * minNormalized, DE_ROUNDINGMODE_TO_NEAREST_EVEN)); in genFixeds()
5630 …dst.push_back(deFloat32To16Round(sign * (minNormalized + minQuantum), DE_ROUNDINGMODE_TO_NEAREST_E… in genFixeds()
5632 dst.push_back(deFloat32To16Round(sign * 0.5f, DE_ROUNDINGMODE_TO_NEAREST_EVEN)); in genFixeds()
5633 dst.push_back(deFloat32To16Round(sign * 1.0f, DE_ROUNDINGMODE_TO_NEAREST_EVEN)); in genFixeds()
5634 dst.push_back(deFloat32To16Round(sign * 2.0f, DE_ROUNDINGMODE_TO_NEAREST_EVEN)); in genFixeds()
5637 dst.push_back(deFloat32To16Round(sign * (deFloatLdExp(1.0f, maxExp) + in genFixeds()
5640 dst.push_back(deFloat32To16Round(sign * TCU_INFINITY, DE_ROUNDINGMODE_TO_NEAREST_EVEN)); in genFixeds()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmFloatControlsTests.cpp424 vm[V_CONV_TO_FP16_RTZ_RESULT] = deFloat32To16Round(1.22334445f, DE_ROUNDINGMODE_TO_ZERO); in TypeValues()
431 vm[V_CONV_TO_FP16_RTE_RESULT] = deFloat32To16Round(1.22334445f, DE_ROUNDINGMODE_TO_NEAREST_EVEN); in TypeValues()
DvktSpvAsmGraphicsShaderTestUtil.cpp2071 const Float16 expectedFloat (deFloat32To16Round(original, deRoundingMode(bitNdx))); in compare16BitFloat()
DvktSpvAsmInstructionTests.cpp10477 deFloat16 expected = deFloat32To16Round(expectedFloat, DE_ROUNDINGMODE_TO_NEAREST_EVEN); in compareDerivativeWithFlavor()
10484 expected = deFloat32To16Round(expectedFloat, DE_ROUNDINGMODE_TO_ZERO); in compareDerivativeWithFlavor()