Skip to content

Commit 5e27aac

Browse files
committed
[fix-arm-support] ggtt/eemumu.mad workaround for CI hangs: disable all tests using constexpr_sqrt on aarch64 (with Danie>
1 parent 8f30708 commit 5e27aac

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

epochX/cudacpp/ee_mumu.mad/SubProcesses/testmisc.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,7 @@ TEST( XTESTID( MG_EPOCH_PROCESS_ID ), testmisc )
324324
EXPECT_NEAR( constexpr_pow( 10000, -0.25 ), 0.1, 0.1 * 1E-14 )
325325
<< std::setprecision( 40 ) << "constexpr_pow( 10000, -0.25 ) = " << constexpr_pow( 10000, -0.25 );
326326

327+
#ifndef __aarch64__ // TO BE UNDERSTOOD? DISABLE CONSTEXPR_SQRT TESTS ON AARCH64 (#1064)
327328
// Distance from the horizontal or vertical axis (i.e. from 0, pi/2, pi, or 3pi/2)
328329
auto distance4 = []( const long double xx )
329330
{
@@ -510,6 +511,6 @@ TEST( XTESTID( MG_EPOCH_PROCESS_ID ), testmisc )
510511
<< "x=" << x << ", istep=" << istep;
511512
}
512513
}
513-
514+
#endif
514515
//--------------------------------------------------------------------------
515516
}

epochX/cudacpp/gg_ttgg.mad/SubProcesses/testmisc.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,7 @@ TEST( XTESTID( MG_EPOCH_PROCESS_ID ), testmisc )
324324
EXPECT_NEAR( constexpr_pow( 10000, -0.25 ), 0.1, 0.1 * 1E-14 )
325325
<< std::setprecision( 40 ) << "constexpr_pow( 10000, -0.25 ) = " << constexpr_pow( 10000, -0.25 );
326326

327+
#ifndef __aarch64__ // TO BE UNDERSTOOD? DISABLE CONSTEXPR_SQRT TESTS ON AARCH64 (#1064)
327328
// Distance from the horizontal or vertical axis (i.e. from 0, pi/2, pi, or 3pi/2)
328329
auto distance4 = []( const long double xx )
329330
{
@@ -510,6 +511,6 @@ TEST( XTESTID( MG_EPOCH_PROCESS_ID ), testmisc )
510511
<< "x=" << x << ", istep=" << istep;
511512
}
512513
}
513-
514+
#endif
514515
//--------------------------------------------------------------------------
515516
}

0 commit comments

Comments
 (0)