From f67b3c159f545e0bb48c3530ae8ac0a280f7dd55 Mon Sep 17 00:00:00 2001 From: Rich Hornung Date: Mon, 4 May 2020 16:39:12 -0700 Subject: [PATCH] Remove old region tests. Superceded by new tests. --- test/old-tests/unit/test-kernel.cpp | 114 ---------------------------- 1 file changed, 114 deletions(-) diff --git a/test/old-tests/unit/test-kernel.cpp b/test/old-tests/unit/test-kernel.cpp index 683f7be7a5..ce997ee606 100644 --- a/test/old-tests/unit/test-kernel.cpp +++ b/test/old-tests/unit/test-kernel.cpp @@ -1355,120 +1355,6 @@ TEST(Kernel, CollapseSeq) delete[] x; } -//Sequential region -TEST(Kernel, RegionSeq) -{ - - const int N = 300; - int * Arr_a = new int[N]; - int * Arr_b = new int[N]; - int * Arr_c = new int[N]; - - for(int i=0; i - >, - RAJA::statement::For<0, RAJA::loop_exec, - RAJA::statement::Lambda<1> - >, - RAJA::statement::For<0, RAJA::loop_exec, - RAJA::statement::Lambda<2> - > - > - >; - - RAJA::kernel( - RAJA::make_tuple(RAJA::RangeSegment(0,N)), - - [=] (int i) { - Arr_a[i] = 50; - }, - - [=] (int i) { - Arr_b[i] = 100; - }, - - [=] (int i) { - Arr_c[i] = Arr_a[i] + Arr_b[N - 1 - i]; - } - - ); - - for(int i=0; i - >, - RAJA::statement::For<0, RAJA::omp_for_nowait_exec, - RAJA::statement::Lambda<1> - >, - RAJA::statement::OmpSyncThreads, - RAJA::statement::For<0, RAJA::omp_for_nowait_exec, - RAJA::statement::Lambda<2> - > - > - >; - - RAJA::kernel( - RAJA::make_tuple(RAJA::RangeSegment(0,N)), - - [=] (int i) { - Arr_a[i] = 50; - }, - - [=] (int i) { - Arr_b[i] = 100; - }, - - [=] (int i) { - Arr_c[i] = Arr_a[i] + Arr_b[N - 1 - i]; - } - - ); - - for(int i=0; i