11#ifdef UseTestSpecificCompilerSettings
12#pragma optimize("",off)
17 TestCase(
"peano4::utils::tests::ParallelDForTest" ) {
22 constexpr int Size = 24;
23 constexpr int Samples = 64;
25 constexpr int DSize = Size*Size;
27 constexpr int DSize = Size*Size*Size;
31 for (
int i=0; i<DSize; i++) {
35 for (
int sample=0; sample<Samples; sample++) {
54#ifdef UseTestSpecificCompilerSettings
55#pragma optimize("",on)
#define parallelDfor(counter, max)
#define dfor(counter, max)
d-dimensional Loop
#define testMethod(name)
Run a test method and check for errors.
#define validateEqualsWithParams2(actualValue, validValue, param0, param1)
static tarch::logging::Log _log
Logging device.
virtual void run() override
This routine is triggered by the TestCaseCollection.
CPUGPUMethod int dLinearised(const tarch::la::Vector< Dimensions, int > &counter, int max)
Map d-dimensional vector onto integer index.