SWDEV-503089 - Fix and enable disabled HIP tests from math group (#1319)

* SWDEV-503089 - Fix and enable disabled HIP tests from math group

* SWDEV-503089 - Move single precision reduced run to a common function
Este commit está contenido en:
amilanov-amd
2025-11-26 10:34:05 +01:00
cometido por GitHub
padre ee48f6221d
commit da9bb4efae
Se han modificado 28 ficheros con 313 adiciones y 575 borrados
@@ -36,7 +36,7 @@ THE SOFTWARE.
TEST_CASE("Unit_Device_" #kern_name "_Accuracy_Limited_Positive") { \
Float16 (*ref)(float) = kern_name##_ref; \
UnarySinglePrecisionRangeTest(kern_name##_kernel, ref, EqValidatorBuilderFactory<Float16>(), \
std::numeric_limits<float>::min(), 0.f); \
std::numeric_limits<float>::lowest(), 0.f); \
UnarySinglePrecisionRangeTest(kern_name##_kernel, ref, EqValidatorBuilderFactory<Float16>(), \
0.0001f, std::numeric_limits<float>::max()); \
}
@@ -48,7 +48,7 @@ THE SOFTWARE.
TEST_CASE("Unit_Device_" #kern_name "_Accuracy_Positive") { \
Float16 (*ref)(float) = kern_name##_ref; \
UnarySinglePrecisionRangeTest(kern_name##_kernel, ref, EqValidatorBuilderFactory<Float16>(), \
std::numeric_limits<float>::min(), \
std::numeric_limits<float>::lowest(), \
std::numeric_limits<float>::max()); \
}