unittest/intsimdmatrix_test.cc
TEST_F(IntSimdMatrixTest, AVX2) {
#if defined(HAVE_AVX2)
  if (!SIMDDetect::IsAVX2Available()) {
    GTEST_LOG_(INFO) << "No AVX2 found! Not tested!";
    GTEST_SKIP();
  }
  ExpectEqualResults(IntSimdMatrix::intSimdMatrixAVX2);
#else
  GTEST_LOG_(INFO) << "AVX2 unsupported! Not tested!";
  GTEST_SKIP();
#endif
}
// Tests that the AVX2 implementation gets the same result as the vanilla.
Tests that the AVX2 implementation gets the same result as the vanilla.
Tests that the AVX2 implementation gets the same result as the vanilla .
TEST_F(IntSimdMatrixTest, AVX2) {
#if defined(HAVE_AVX2)
  if (!SIMDDetect::IsAVX2Available()) {
    GTEST_LOG_(INFO) << "No AVX2 found! Not tested!";
    GTEST_SKIP();
  }
  ExpectEqualResults(IntSimdMatrix::intSimdMatrixAVX2);
#else
  GTEST_LOG_(INFO) << "AVX2 unsupported! Not tested!";
  GTEST_SKIP();
#endif
}
TEST_F ( IntSimdMatrixTest , AVX2 ) { #if defined ( HAVE_AVX2 ) if ( ! SIMDDetect :: IsAVX2Available ( ) ) { GTEST_LOG_ ( INFO ) << " " ; GTEST_SKIP ( ) ; } ExpectEqualResults ( IntSimdMatrix :: intSimdMatrixAVX2 ) ; #else GTEST_LOG_ ( INFO ) << " " ; GTEST_SKIP ( ) ; #endif }
Tests that the AVX2 implementation gets the same result as the vanilla.
Tests that the AVX2 implementation gets the same result as the vanilla .