GTestSuite : Cleanups to ensure proper build of GTestSuite

- Updated the IIT_ERS tests for SUBV to avoid using undefined
  variables. These tests are enabled only when GTestSuite is
  configured for BLIS_TYPED interface testing.

- Updated an instantiator in DAXPBY accuracy tests, to avoid
  parsing error(extra comma). These tests are enabled only when
  GTestSuite is configured for BLIS_TYPED interface.

AMD-Internal: [CPUPL-4500]
Change-Id: If6894daadbbc353dd66968649642ff07fa663782
This commit is contained in:
vignbala
2024-04-30 09:05:15 +00:00
parent 2c838dadfb
commit b55c86cce7
2 changed files with 5 additions and 5 deletions

View File

@@ -168,7 +168,7 @@ INSTANTIATE_TEST_SUITE_P(
::testing::Values(double(2.3), double(1.0),
double(-1.0), double(0.0)), // alpha
::testing::Values(double(-4.9), double(1.0),
double(-1.0), double(0.0)), // beta
double(-1.0), double(0.0)) // beta
),
::daxpbyvGenericTestPrint()
);

View File

@@ -72,7 +72,7 @@ TYPED_TEST(subv_IIT_ERS_Test, n_lt_zero_nonUnitStride)
subv<T>( 'n', invalid_n, x.data(), inc, y.data(), inc );
// Use bitwise comparison (no threshold).
computediff<T>( "y", n, y.data(), y_ref.data(), inc );
computediff<T>( "y", N, y.data(), y_ref.data(), inc );
}
// n < 0, with unit stride
@@ -93,7 +93,7 @@ TYPED_TEST(subv_IIT_ERS_Test, n_lt_zero_unitStride)
subv<T>( 'n', invalid_n, x.data(), inc, y.data(), inc );
// Use bitwise comparison (no threshold).
computediff<T>( "y", n, y.data(), y_ref.data(), inc );
computediff<T>( "y", N, y.data(), y_ref.data(), inc );
}
// n == 0, with non-unit stride
@@ -114,7 +114,7 @@ TYPED_TEST(subv_IIT_ERS_Test, n_eq_zero_nonUnitStride)
subv<T>( 'n', invalid_n, x.data(), inc, y.data(), inc );
// Use bitwise comparison (no threshold).
computediff<T>( "y", n, y.data(), y_ref.data(), inc );
computediff<T>( "y", N, y.data(), y_ref.data(), inc );
}
// n == 0, with unit stride
@@ -135,6 +135,6 @@ TYPED_TEST(subv_IIT_ERS_Test, n_eq_zero_unitStride)
subv<T>( 'n', invalid_n, x.data(), inc, y.data(), inc );
// Use bitwise comparison (no threshold).
computediff<T>( "y", n, y.data(), y_ref.data(), inc );
computediff<T>( "y", N, y.data(), y_ref.data(), inc );
}
#endif