Lines Matching refs:maxn
38 PetscInt maxn = 512 * 1024; /* max 4M bytes messages */ in main() local
58 PetscCall(PetscOptionsGetInt(NULL, NULL, "-maxn", &maxn, NULL)); /* maxn PetscScalars */ in main()
62 PetscCall(PetscMalloc1(maxn, &iremote)); in main()
74 PetscCall(PetscMalloc2(maxn, &rootdata, maxn, &leafdata)); in main()
76 PetscCallCXX(rootdata = (PetscScalar *)Kokkos::kokkos_malloc(sizeof(PetscScalar) * maxn)); in main()
77 PetscCallCXX(leafdata = (PetscScalar *)Kokkos::kokkos_malloc(sizeof(PetscScalar) * maxn)); in main()
79 PetscCall(PetscMalloc2(maxn, &pbuf, maxn, &ebuf)); in main()
80 for (i = 0; i < maxn; i++) { in main()
85 for (n = 1, i = 0; n <= maxn; n *= 2, i++) { in main()
111 for (n = 1, j = 0; n <= maxn; n *= 2, j++) { in main()
149 for (n = 1, j = 0; n <= maxn; n *= 2, j++) { in main()