Home
last modified time | relevance | path

Searched refs:Float16Utils (Results 1 – 25 of 115) sorted by relevance

12345

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DFloatyUnitTest.java20 import android.renderscript.cts.Float16Utils;
40 Float16Utils.MIN_VALUE,
41 Float16Utils.MIN_VALUE * 100,
43 -Float16Utils.MIN_VALUE,
44 -Float16Utils.MIN_VALUE * 100,
236 shouldAccept(normalFloaty, normalHalf + Float16Utils.float16Ulp(normalHalf)); in testHalf1Ulp()
237 shouldAccept(normalFloaty, normalHalf - Float16Utils.float16Ulp(normalHalf)); in testHalf1Ulp()
238 shouldNotAccept(normalFloaty, normalHalf + 2 * Float16Utils.float16Ulp(normalHalf)); in testHalf1Ulp()
239 shouldNotAccept(normalFloaty, normalHalf - 2 * Float16Utils.float16Ulp(normalHalf)); in testHalf1Ulp()
250 shouldAccept(normalFloaty, normalHalf + 128 * Float16Utils.float16Ulp(normalHalf)); in testHalf128Ulp()
[all …]
DFloat16ArithmeticTest.java28 import android.renderscript.cts.Float16Utils;
95 if (Float16Utils.isFloat16Infinite(lb)) in checkFloat16Output()
98 if (Float16Utils.isFloat16NaN(lb)) in checkFloat16Output()
99 return Float16Utils.isFloat16NaN(out); in checkFloat16Output()
102 if (Float16Utils.isFloat16Zero(lb)) { in checkFloat16Output()
103 if (!Float16Utils.isFloat16FiniteNonZero(in1) || in checkFloat16Output()
104 !Float16Utils.isFloat16FiniteNonZero(in2)) { in checkFloat16Output()
109 float floatLB = Float16Utils.convertFloat16ToFloat(lb); in checkFloat16Output()
110 float floatUB = Float16Utils.convertFloat16ToFloat(ub); in checkFloat16Output()
111 float floatOut = Float16Utils.convertFloat16ToFloat(out); in checkFloat16Output()
DRSUtils.java181 double minValueInHalf = Float16Utils.roundToFloat16(minDoubleValue)[1]; in genRandomFloat16s()
182 double maxValueInHalf = Float16Utils.roundToFloat16(maxDoubleValue)[0]; in genRandomFloat16s()
185 minValueInHalf = Math.copySign(Float16Utils.MAX_VALUE, minValueInHalf); in genRandomFloat16s()
188 maxValueInHalf = Math.copySign(Float16Utils.MAX_VALUE, maxValueInHalf); in genRandomFloat16s()
191 short min = Float16Utils.convertDoubleToFloat16(minValueInHalf); in genRandomFloat16s()
192 short max = Float16Utils.convertDoubleToFloat16(maxValueInHalf); in genRandomFloat16s()
214 if (Float16Utils.isFloat16Zero(min) || Float16Utils.isFloat16SubNormal(min)) { in genRandomFloat16s()
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/
DTestNativeSincos.java476 args.inVDouble = Float16Utils.convertFloat16ToDouble(args.inV); in verifyResultsNativeSincosHalfHalfHalf()
482 …if (!args.outCos.couldBe(Float16Utils.convertFloat16ToDouble(arrayOutCos[i * 1 + j]), 0.0004882812… in verifyResultsNativeSincosHalfHalfHalf()
485 … if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j]), 0.00048828125)) { in verifyResultsNativeSincosHalfHalfHalf()
501 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOutCos[i * 1 + j])); in verifyResultsNativeSincosHalfHalfHalf()
502 …if (!args.outCos.couldBe(Float16Utils.convertFloat16ToDouble(arrayOutCos[i * 1 + j]), 0.0004882812… in verifyResultsNativeSincosHalfHalfHalf()
513 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j])); in verifyResultsNativeSincosHalfHalfHalf()
514 … if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j]), 0.00048828125)) { in verifyResultsNativeSincosHalfHalfHalf()
576 args.inVDouble = Float16Utils.convertFloat16ToDouble(args.inV); in verifyResultsNativeSincosHalf2Half2Half2()
582 …if (!args.outCos.couldBe(Float16Utils.convertFloat16ToDouble(arrayOutCos[i * 2 + j]), 0.0004882812… in verifyResultsNativeSincosHalf2Half2Half2()
585 … if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j]), 0.00048828125)) { in verifyResultsNativeSincosHalf2Half2Half2()
[all …]
DTestSincos.java476 args.inVDouble = Float16Utils.convertFloat16ToDouble(args.inV); in verifyResultsSincosHalfHalfHalf()
482 … if (!args.outCos.couldBe(Float16Utils.convertFloat16ToDouble(arrayOutCos[i * 1 + j]))) { in verifyResultsSincosHalfHalfHalf()
485 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j]))) { in verifyResultsSincosHalfHalfHalf()
501 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOutCos[i * 1 + j])); in verifyResultsSincosHalfHalfHalf()
502 … if (!args.outCos.couldBe(Float16Utils.convertFloat16ToDouble(arrayOutCos[i * 1 + j]))) { in verifyResultsSincosHalfHalfHalf()
513 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j])); in verifyResultsSincosHalfHalfHalf()
514 … if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j]))) { in verifyResultsSincosHalfHalfHalf()
576 args.inVDouble = Float16Utils.convertFloat16ToDouble(args.inV); in verifyResultsSincosHalf2Half2Half2()
582 … if (!args.outCos.couldBe(Float16Utils.convertFloat16ToDouble(arrayOutCos[i * 2 + j]))) { in verifyResultsSincosHalf2Half2Half2()
585 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j]))) { in verifyResultsSincosHalf2Half2Half2()
[all …]
DTestFract.java769 args.inVDouble = Float16Utils.convertFloat16ToDouble(args.inV); in verifyResultsFractHalfHalfHalf()
775 … if (!args.outFloor.couldBe(Float16Utils.convertFloat16ToDouble(arrayOutFloor[i * 1 + j]))) { in verifyResultsFractHalfHalfHalf()
778 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j]))) { in verifyResultsFractHalfHalfHalf()
794 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOutFloor[i * 1 + j])); in verifyResultsFractHalfHalfHalf()
795 … if (!args.outFloor.couldBe(Float16Utils.convertFloat16ToDouble(arrayOutFloor[i * 1 + j]))) { in verifyResultsFractHalfHalfHalf()
806 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j])); in verifyResultsFractHalfHalfHalf()
807 … if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j]))) { in verifyResultsFractHalfHalfHalf()
869 args.inVDouble = Float16Utils.convertFloat16ToDouble(args.inV); in verifyResultsFractHalf2Half2Half2()
875 … if (!args.outFloor.couldBe(Float16Utils.convertFloat16ToDouble(arrayOutFloor[i * 2 + j]))) { in verifyResultsFractHalf2Half2Half2()
878 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j]))) { in verifyResultsFractHalf2Half2Half2()
[all …]
DTestMad.java489 … args.inMultiplicand1Double = Float16Utils.convertFloat16ToDouble(args.inMultiplicand1); in verifyResultsMadHalfHalfHalfHalf()
491 … args.inMultiplicand2Double = Float16Utils.convertFloat16ToDouble(args.inMultiplicand2); in verifyResultsMadHalfHalfHalfHalf()
493 args.inOffsetDouble = Float16Utils.convertFloat16ToDouble(args.inOffset); in verifyResultsMadHalfHalfHalfHalf()
499 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j]))) { in verifyResultsMadHalfHalfHalfHalf()
521 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j])); in verifyResultsMadHalfHalfHalfHalf()
522 … if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j]))) { in verifyResultsMadHalfHalfHalfHalf()
589 … args.inMultiplicand1Double = Float16Utils.convertFloat16ToDouble(args.inMultiplicand1); in verifyResultsMadHalf2Half2Half2Half2()
591 … args.inMultiplicand2Double = Float16Utils.convertFloat16ToDouble(args.inMultiplicand2); in verifyResultsMadHalf2Half2Half2Half2()
593 args.inOffsetDouble = Float16Utils.convertFloat16ToDouble(args.inOffset); in verifyResultsMadHalf2Half2Half2Half2()
599 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j]))) { in verifyResultsMadHalf2Half2Half2Half2()
[all …]
DTestFma.java489 … args.inMultiplicand1Double = Float16Utils.convertFloat16ToDouble(args.inMultiplicand1); in verifyResultsFmaHalfHalfHalfHalf()
491 … args.inMultiplicand2Double = Float16Utils.convertFloat16ToDouble(args.inMultiplicand2); in verifyResultsFmaHalfHalfHalfHalf()
493 args.inOffsetDouble = Float16Utils.convertFloat16ToDouble(args.inOffset); in verifyResultsFmaHalfHalfHalfHalf()
499 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j]))) { in verifyResultsFmaHalfHalfHalfHalf()
521 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j])); in verifyResultsFmaHalfHalfHalfHalf()
522 … if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j]))) { in verifyResultsFmaHalfHalfHalfHalf()
589 … args.inMultiplicand1Double = Float16Utils.convertFloat16ToDouble(args.inMultiplicand1); in verifyResultsFmaHalf2Half2Half2Half2()
591 … args.inMultiplicand2Double = Float16Utils.convertFloat16ToDouble(args.inMultiplicand2); in verifyResultsFmaHalf2Half2Half2Half2()
593 args.inOffsetDouble = Float16Utils.convertFloat16ToDouble(args.inOffset); in verifyResultsFmaHalf2Half2Half2Half2()
599 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j]))) { in verifyResultsFmaHalf2Half2Half2Half2()
[all …]
DTestMix.java489 args.inStartDouble = Float16Utils.convertFloat16ToDouble(args.inStart); in verifyResultsMixHalfHalfHalfHalf()
491 args.inStopDouble = Float16Utils.convertFloat16ToDouble(args.inStop); in verifyResultsMixHalfHalfHalfHalf()
493 args.inFractionDouble = Float16Utils.convertFloat16ToDouble(args.inFraction); in verifyResultsMixHalfHalfHalfHalf()
499 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j]))) { in verifyResultsMixHalfHalfHalfHalf()
521 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j])); in verifyResultsMixHalfHalfHalfHalf()
522 … if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j]))) { in verifyResultsMixHalfHalfHalfHalf()
589 args.inStartDouble = Float16Utils.convertFloat16ToDouble(args.inStart); in verifyResultsMixHalf2Half2Half2Half2()
591 args.inStopDouble = Float16Utils.convertFloat16ToDouble(args.inStop); in verifyResultsMixHalf2Half2Half2Half2()
593 args.inFractionDouble = Float16Utils.convertFloat16ToDouble(args.inFraction); in verifyResultsMixHalf2Half2Half2Half2()
599 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j]))) { in verifyResultsMixHalf2Half2Half2Half2()
[all …]
DTestStep.java435 args.inEdgeDouble = Float16Utils.convertFloat16ToDouble(args.inEdge); in verifyResultsStepHalfHalfHalf()
437 args.inVDouble = Float16Utils.convertFloat16ToDouble(args.inV); in verifyResultsStepHalfHalfHalf()
443 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j]))) { in verifyResultsStepHalfHalfHalf()
462 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j])); in verifyResultsStepHalfHalfHalf()
463 … if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j]))) { in verifyResultsStepHalfHalfHalf()
523 args.inEdgeDouble = Float16Utils.convertFloat16ToDouble(args.inEdge); in verifyResultsStepHalf2Half2Half2()
525 args.inVDouble = Float16Utils.convertFloat16ToDouble(args.inV); in verifyResultsStepHalf2Half2Half2()
531 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j]))) { in verifyResultsStepHalf2Half2Half2()
550 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j])); in verifyResultsStepHalf2Half2Half2()
551 … if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j]))) { in verifyResultsStepHalf2Half2Half2()
[all …]
DTestFmax.java435 args.inADouble = Float16Utils.convertFloat16ToDouble(args.inA); in verifyResultsFmaxHalfHalfHalf()
437 args.inBDouble = Float16Utils.convertFloat16ToDouble(args.inB); in verifyResultsFmaxHalfHalfHalf()
443 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j]))) { in verifyResultsFmaxHalfHalfHalf()
462 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j])); in verifyResultsFmaxHalfHalfHalf()
463 … if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j]))) { in verifyResultsFmaxHalfHalfHalf()
523 args.inADouble = Float16Utils.convertFloat16ToDouble(args.inA); in verifyResultsFmaxHalf2Half2Half2()
525 args.inBDouble = Float16Utils.convertFloat16ToDouble(args.inB); in verifyResultsFmaxHalf2Half2Half2()
531 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j]))) { in verifyResultsFmaxHalf2Half2Half2()
550 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j])); in verifyResultsFmaxHalf2Half2Half2()
551 … if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j]))) { in verifyResultsFmaxHalf2Half2Half2()
[all …]
DTestFmin.java435 args.inADouble = Float16Utils.convertFloat16ToDouble(args.inA); in verifyResultsFminHalfHalfHalf()
437 args.inBDouble = Float16Utils.convertFloat16ToDouble(args.inB); in verifyResultsFminHalfHalfHalf()
443 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j]))) { in verifyResultsFminHalfHalfHalf()
462 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j])); in verifyResultsFminHalfHalfHalf()
463 … if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j]))) { in verifyResultsFminHalfHalfHalf()
523 args.inADouble = Float16Utils.convertFloat16ToDouble(args.inA); in verifyResultsFminHalf2Half2Half2()
525 args.inBDouble = Float16Utils.convertFloat16ToDouble(args.inB); in verifyResultsFminHalf2Half2Half2()
531 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j]))) { in verifyResultsFminHalf2Half2Half2()
550 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j])); in verifyResultsFminHalf2Half2Half2()
551 … if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j]))) { in verifyResultsFminHalf2Half2Half2()
[all …]
DTestNativeDistance.java459 args.inLeftVectorDouble = Float16Utils.convertFloat16ToDouble(args.inLeftVector); in verifyResultsNativeDistanceHalfHalfHalf()
461 args.inRightVectorDouble = Float16Utils.convertFloat16ToDouble(args.inRightVector); in verifyResultsNativeDistanceHalfHalfHalf()
467 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i]))) { in verifyResultsNativeDistanceHalfHalfHalf()
486 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOut[i])); in verifyResultsNativeDistanceHalfHalfHalf()
487 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i]))) { in verifyResultsNativeDistanceHalfHalfHalf()
557 … args.inLeftVectorDouble[j] = Float16Utils.convertFloat16ToDouble(args.inLeftVector[j]); in verifyResultsNativeDistanceHalf2Half2Half()
561 … args.inRightVectorDouble[j] = Float16Utils.convertFloat16ToDouble(args.inRightVector[j]); in verifyResultsNativeDistanceHalf2Half2Half()
568 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i]))) { in verifyResultsNativeDistanceHalf2Half2Half()
591 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOut[i])); in verifyResultsNativeDistanceHalf2Half2Half()
592 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i]))) { in verifyResultsNativeDistanceHalf2Half2Half()
[all …]
DTestNativeHypot.java435 args.inADouble = Float16Utils.convertFloat16ToDouble(args.inA); in verifyResultsNativeHypotHalfHalfHalf()
437 args.inBDouble = Float16Utils.convertFloat16ToDouble(args.inB); in verifyResultsNativeHypotHalfHalfHalf()
443 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j]))) { in verifyResultsNativeHypotHalfHalfHalf()
462 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j])); in verifyResultsNativeHypotHalfHalfHalf()
463 … if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j]))) { in verifyResultsNativeHypotHalfHalfHalf()
523 args.inADouble = Float16Utils.convertFloat16ToDouble(args.inA); in verifyResultsNativeHypotHalf2Half2Half2()
525 args.inBDouble = Float16Utils.convertFloat16ToDouble(args.inB); in verifyResultsNativeHypotHalf2Half2Half2()
531 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j]))) { in verifyResultsNativeHypotHalf2Half2Half2()
550 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j])); in verifyResultsNativeHypotHalf2Half2Half2()
551 … if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j]))) { in verifyResultsNativeHypotHalf2Half2Half2()
[all …]
DTestNativeAtan2.java435 args.inNumeratorDouble = Float16Utils.convertFloat16ToDouble(args.inNumerator); in verifyResultsNativeAtan2HalfHalfHalf()
437 args.inDenominatorDouble = Float16Utils.convertFloat16ToDouble(args.inDenominator); in verifyResultsNativeAtan2HalfHalfHalf()
443 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j]))) { in verifyResultsNativeAtan2HalfHalfHalf()
462 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j])); in verifyResultsNativeAtan2HalfHalfHalf()
463 … if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j]))) { in verifyResultsNativeAtan2HalfHalfHalf()
523 args.inNumeratorDouble = Float16Utils.convertFloat16ToDouble(args.inNumerator); in verifyResultsNativeAtan2Half2Half2Half2()
525 args.inDenominatorDouble = Float16Utils.convertFloat16ToDouble(args.inDenominator); in verifyResultsNativeAtan2Half2Half2Half2()
531 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j]))) { in verifyResultsNativeAtan2Half2Half2Half2()
550 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j])); in verifyResultsNativeAtan2Half2Half2Half2()
551 … if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j]))) { in verifyResultsNativeAtan2Half2Half2Half2()
[all …]
DTestDot.java459 args.inLeftVectorDouble = Float16Utils.convertFloat16ToDouble(args.inLeftVector); in verifyResultsDotHalfHalfHalf()
461 args.inRightVectorDouble = Float16Utils.convertFloat16ToDouble(args.inRightVector); in verifyResultsDotHalfHalfHalf()
467 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i]))) { in verifyResultsDotHalfHalfHalf()
486 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOut[i])); in verifyResultsDotHalfHalfHalf()
487 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i]))) { in verifyResultsDotHalfHalfHalf()
557 … args.inLeftVectorDouble[j] = Float16Utils.convertFloat16ToDouble(args.inLeftVector[j]); in verifyResultsDotHalf2Half2Half()
561 … args.inRightVectorDouble[j] = Float16Utils.convertFloat16ToDouble(args.inRightVector[j]); in verifyResultsDotHalf2Half2Half()
568 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i]))) { in verifyResultsDotHalf2Half2Half()
591 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOut[i])); in verifyResultsDotHalf2Half2Half()
592 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i]))) { in verifyResultsDotHalf2Half2Half()
[all …]
DTestPowr.java435 args.inBaseDouble = Float16Utils.convertFloat16ToDouble(args.inBase); in verifyResultsPowrHalfHalfHalf()
437 args.inExponentDouble = Float16Utils.convertFloat16ToDouble(args.inExponent); in verifyResultsPowrHalfHalfHalf()
443 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j]))) { in verifyResultsPowrHalfHalfHalf()
462 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j])); in verifyResultsPowrHalfHalfHalf()
463 … if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j]))) { in verifyResultsPowrHalfHalfHalf()
523 args.inBaseDouble = Float16Utils.convertFloat16ToDouble(args.inBase); in verifyResultsPowrHalf2Half2Half2()
525 args.inExponentDouble = Float16Utils.convertFloat16ToDouble(args.inExponent); in verifyResultsPowrHalf2Half2Half2()
531 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j]))) { in verifyResultsPowrHalf2Half2Half2()
550 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j])); in verifyResultsPowrHalf2Half2Half2()
551 … if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j]))) { in verifyResultsPowrHalf2Half2Half2()
[all …]
DTestPow.java435 args.inBaseDouble = Float16Utils.convertFloat16ToDouble(args.inBase); in verifyResultsPowHalfHalfHalf()
437 args.inExponentDouble = Float16Utils.convertFloat16ToDouble(args.inExponent); in verifyResultsPowHalfHalfHalf()
443 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j]))) { in verifyResultsPowHalfHalfHalf()
462 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j])); in verifyResultsPowHalfHalfHalf()
463 … if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j]))) { in verifyResultsPowHalfHalfHalf()
523 args.inBaseDouble = Float16Utils.convertFloat16ToDouble(args.inBase); in verifyResultsPowHalf2Half2Half2()
525 args.inExponentDouble = Float16Utils.convertFloat16ToDouble(args.inExponent); in verifyResultsPowHalf2Half2Half2()
531 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j]))) { in verifyResultsPowHalf2Half2Half2()
550 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j])); in verifyResultsPowHalf2Half2Half2()
551 … if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j]))) { in verifyResultsPowHalf2Half2Half2()
[all …]
DTestNativeAtan2pi.java435 args.inNumeratorDouble = Float16Utils.convertFloat16ToDouble(args.inNumerator); in verifyResultsNativeAtan2piHalfHalfHalf()
437 args.inDenominatorDouble = Float16Utils.convertFloat16ToDouble(args.inDenominator); in verifyResultsNativeAtan2piHalfHalfHalf()
443 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j]))) { in verifyResultsNativeAtan2piHalfHalfHalf()
462 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j])); in verifyResultsNativeAtan2piHalfHalfHalf()
463 … if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j]))) { in verifyResultsNativeAtan2piHalfHalfHalf()
523 args.inNumeratorDouble = Float16Utils.convertFloat16ToDouble(args.inNumerator); in verifyResultsNativeAtan2piHalf2Half2Half2()
525 args.inDenominatorDouble = Float16Utils.convertFloat16ToDouble(args.inDenominator); in verifyResultsNativeAtan2piHalf2Half2Half2()
531 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j]))) { in verifyResultsNativeAtan2piHalf2Half2Half2()
550 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j])); in verifyResultsNativeAtan2piHalf2Half2Half2()
551 … if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j]))) { in verifyResultsNativeAtan2piHalf2Half2Half2()
[all …]
DTestNativePowr.java435 args.inBaseDouble = Float16Utils.convertFloat16ToDouble(args.inBase); in verifyResultsNativePowrHalfHalfHalf()
437 args.inExponentDouble = Float16Utils.convertFloat16ToDouble(args.inExponent); in verifyResultsNativePowrHalfHalfHalf()
443 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j]))) { in verifyResultsNativePowrHalfHalfHalf()
462 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j])); in verifyResultsNativePowrHalfHalfHalf()
463 … if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j]))) { in verifyResultsNativePowrHalfHalfHalf()
523 args.inBaseDouble = Float16Utils.convertFloat16ToDouble(args.inBase); in verifyResultsNativePowrHalf2Half2Half2()
525 args.inExponentDouble = Float16Utils.convertFloat16ToDouble(args.inExponent); in verifyResultsNativePowrHalf2Half2Half2()
531 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j]))) { in verifyResultsNativePowrHalf2Half2Half2()
550 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j])); in verifyResultsNativePowrHalf2Half2Half2()
551 … if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j]))) { in verifyResultsNativePowrHalf2Half2Half2()
[all …]
DTestAtan2.java435 args.inNumeratorDouble = Float16Utils.convertFloat16ToDouble(args.inNumerator); in verifyResultsAtan2HalfHalfHalf()
437 args.inDenominatorDouble = Float16Utils.convertFloat16ToDouble(args.inDenominator); in verifyResultsAtan2HalfHalfHalf()
443 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j]))) { in verifyResultsAtan2HalfHalfHalf()
462 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j])); in verifyResultsAtan2HalfHalfHalf()
463 … if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j]))) { in verifyResultsAtan2HalfHalfHalf()
523 args.inNumeratorDouble = Float16Utils.convertFloat16ToDouble(args.inNumerator); in verifyResultsAtan2Half2Half2Half2()
525 args.inDenominatorDouble = Float16Utils.convertFloat16ToDouble(args.inDenominator); in verifyResultsAtan2Half2Half2Half2()
531 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j]))) { in verifyResultsAtan2Half2Half2Half2()
550 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j])); in verifyResultsAtan2Half2Half2Half2()
551 … if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j]))) { in verifyResultsAtan2Half2Half2Half2()
[all …]
DTestNativeDivide.java435 args.inLeftVectorDouble = Float16Utils.convertFloat16ToDouble(args.inLeftVector); in verifyResultsNativeDivideHalfHalfHalf()
437 args.inRightVectorDouble = Float16Utils.convertFloat16ToDouble(args.inRightVector); in verifyResultsNativeDivideHalfHalfHalf()
443 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j]))) { in verifyResultsNativeDivideHalfHalfHalf()
462 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j])); in verifyResultsNativeDivideHalfHalfHalf()
463 … if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j]))) { in verifyResultsNativeDivideHalfHalfHalf()
523 args.inLeftVectorDouble = Float16Utils.convertFloat16ToDouble(args.inLeftVector); in verifyResultsNativeDivideHalf2Half2Half2()
525 args.inRightVectorDouble = Float16Utils.convertFloat16ToDouble(args.inRightVector); in verifyResultsNativeDivideHalf2Half2Half2()
531 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j]))) { in verifyResultsNativeDivideHalf2Half2Half2()
550 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j])); in verifyResultsNativeDivideHalf2Half2Half2()
551 … if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j]))) { in verifyResultsNativeDivideHalf2Half2Half2()
[all …]
DTestDistance.java459 args.inLeftVectorDouble = Float16Utils.convertFloat16ToDouble(args.inLeftVector); in verifyResultsDistanceHalfHalfHalf()
461 args.inRightVectorDouble = Float16Utils.convertFloat16ToDouble(args.inRightVector); in verifyResultsDistanceHalfHalfHalf()
467 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i]))) { in verifyResultsDistanceHalfHalfHalf()
486 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOut[i])); in verifyResultsDistanceHalfHalfHalf()
487 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i]))) { in verifyResultsDistanceHalfHalfHalf()
557 … args.inLeftVectorDouble[j] = Float16Utils.convertFloat16ToDouble(args.inLeftVector[j]); in verifyResultsDistanceHalf2Half2Half()
561 … args.inRightVectorDouble[j] = Float16Utils.convertFloat16ToDouble(args.inRightVector[j]); in verifyResultsDistanceHalf2Half2Half()
568 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i]))) { in verifyResultsDistanceHalf2Half2Half()
591 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOut[i])); in verifyResultsDistanceHalf2Half2Half()
592 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i]))) { in verifyResultsDistanceHalf2Half2Half()
[all …]
DTestRemainder.java435 args.inNumeratorDouble = Float16Utils.convertFloat16ToDouble(args.inNumerator); in verifyResultsRemainderHalfHalfHalf()
437 args.inDenominatorDouble = Float16Utils.convertFloat16ToDouble(args.inDenominator); in verifyResultsRemainderHalfHalfHalf()
443 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j]))) { in verifyResultsRemainderHalfHalfHalf()
462 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j])); in verifyResultsRemainderHalfHalfHalf()
463 … if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j]))) { in verifyResultsRemainderHalfHalfHalf()
523 args.inNumeratorDouble = Float16Utils.convertFloat16ToDouble(args.inNumerator); in verifyResultsRemainderHalf2Half2Half2()
525 args.inDenominatorDouble = Float16Utils.convertFloat16ToDouble(args.inDenominator); in verifyResultsRemainderHalf2Half2Half2()
531 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j]))) { in verifyResultsRemainderHalf2Half2Half2()
550 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j])); in verifyResultsRemainderHalf2Half2Half2()
551 … if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j]))) { in verifyResultsRemainderHalf2Half2Half2()
[all …]
DTestCopysign.java435 … args.inMagnitudeValueDouble = Float16Utils.convertFloat16ToDouble(args.inMagnitudeValue); in verifyResultsCopysignHalfHalfHalf()
437 args.inSignValueDouble = Float16Utils.convertFloat16ToDouble(args.inSignValue); in verifyResultsCopysignHalfHalfHalf()
443 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j]))) { in verifyResultsCopysignHalfHalfHalf()
462 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j])); in verifyResultsCopysignHalfHalfHalf()
463 … if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 1 + j]))) { in verifyResultsCopysignHalfHalfHalf()
523 … args.inMagnitudeValueDouble = Float16Utils.convertFloat16ToDouble(args.inMagnitudeValue); in verifyResultsCopysignHalf2Half2Half2()
525 args.inSignValueDouble = Float16Utils.convertFloat16ToDouble(args.inSignValue); in verifyResultsCopysignHalf2Half2Half2()
531 if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j]))) { in verifyResultsCopysignHalf2Half2Half2()
550 … appendVariableToMessage(message, Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j])); in verifyResultsCopysignHalf2Half2Half2()
551 … if (!args.out.couldBe(Float16Utils.convertFloat16ToDouble(arrayOut[i * 2 + j]))) { in verifyResultsCopysignHalf2Half2Half2()
[all …]

12345