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:
@@ -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()); \
|
||||
}
|
||||
|
||||
|
||||
Referencia en una nueva incidencia
Block a user