Searched refs:deFloat32To16Round (Results 1 – 7 of 7) sorted by relevance
/external/deqp/framework/delibs/debase/ |
D | deFloat16.h | 43 deFloat16 deFloat32To16Round (float val32, deRoundingMode mode);
|
D | deFloat16Test.c | 50 return deFloat32To16Round(val32, DE_ROUNDINGMODE_TO_ZERO); in deFloat32To16RTZ() 55 return deFloat32To16Round(val32, DE_ROUNDINGMODE_TO_NEAREST_EVEN); in deFloat32To16RTE()
|
D | deFloat16.c | 211 deFloat16 deFloat32To16Round (float val32, deRoundingMode mode) in deFloat32To16Round() function
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderBuiltinPrecisionTests.cpp | 5529 …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/ |
D | vktSpvAsmFloatControlsTests.cpp | 424 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()
|
D | vktSpvAsmGraphicsShaderTestUtil.cpp | 2071 const Float16 expectedFloat (deFloat32To16Round(original, deRoundingMode(bitNdx))); in compare16BitFloat()
|
D | vktSpvAsmInstructionTests.cpp | 10477 deFloat16 expected = deFloat32To16Round(expectedFloat, DE_ROUNDINGMODE_TO_NEAREST_EVEN); in compareDerivativeWithFlavor() 10484 expected = deFloat32To16Round(expectedFloat, DE_ROUNDINGMODE_TO_ZERO); in compareDerivativeWithFlavor()
|