Lines Matching +full:test +full:- +full:experimental
4 …On a machine with AMD EPYC-7452 CPUs, we got this data using one MPI rank and a serial-only Kokkos:
6 ------------------------------------------
8 ------------------------------------------
9 32 4.6464E-05 4.7451E-05 1.6880E-04
10 64 2.5654E-04 2.5164E-04 5.6780E-04
11 128 1.9383E-03 1.8878E-03 4.7938E-03
12 256 1.4450E-02 1.3619E-02 3.7778E-02
13 512 1.1580E-01 1.1551E-01 2.8428E-01
16 Overall, C is -2% ~ 5% faster than PETSc. But Kokkos is 1.6~3.6x slower than PETSc
28 using PetscScalarKokkosOffsetView3D = Kokkos::Experimental::OffsetView<PetscScalar ***, Kokkos…
29 using ConstPetscScalarKokkosOffsetView3D = Kokkos::Experimental::OffsetView<const PetscScalar ***, …
31 /* PETSc multi-dimensional array access */
45 … y1[k][j][i] = 6 * x1[k][j][i] - x1[k - 1][j][i] - x1[k][j - 1][i] - x1[k][j][i - 1] - x1[k + 1][j… in Update1()
50 *avgTime = (tend - tstart) / nloop; in Update1()
54 /* C multi-dimensional array access */
64 #define X2(k, j, i) x2[(k - gzs) * gym * gxm + (j - gys) * gxm + (i - gxs)] in Update2()
65 #define Y2(k, j, i) y2[(k - zs) * ym * xm + (j - ys) * xm + (i - xs)] in Update2()
70 … Y2(k, j, i) = 6 * X2(k, j, i) - X2(k - 1, j, i) - X2(k, j - 1, i) - X2(k, j, i - 1) - X2(k + 1, j… in Update2()
75 *avgTime = (tend - tstart) / nloop; in Update2()
103 PetscCall(PetscOptionsGetInt(NULL, NULL, "-min", &min, NULL)); in main()
104 PetscCall(PetscOptionsGetInt(NULL, NULL, "-max", &max, NULL)); in main()
116 /* Access with PETSc multi-dimensional arrays */ in main()
125 …PetscCall(PetscPrintf(PETSC_COMM_WORLD, "%4d^3 -- PETSc average time = %e\n", static_cast<int>(le… in main()
127 /* Access with C multi-dimensional arrays */ in main()
135 …PetscCall(PetscPrintf(PETSC_COMM_WORLD, "%4d^3 -- C average time = %e\n", static_cast<int>(le… in main()
137 /* Access with Kokkos multi-dimensional OffsetViews */ in main()
147 … y3(k, j, i) = 6 * x3(k, j, i) - x3(k - 1, j, i) - x3(k, j - 1, i) - x3(k, j, i - 1) - x3(k + 1, j… in main()
152 avgTime = (tend - tstart) / nloop; in main()
153 …PetscCall(PetscPrintf(PETSC_COMM_WORLD, "%4d^3 -- Kokkos average time = %e\n", static_cast<int>(le… in main()
164 /*TEST
168 test:
171 args: -min 32 -max 32 -dm_vec_type kokkos
172 filter: grep -v "time"
175 TEST*/