Home
last modified time | relevance | path

Searched refs:dctx_b (Results 1 – 1 of 1) sorted by relevance

/petsc/src/sys/objects/device/tests/
H A Dex11.cxx246 PetscDeviceContext dctx_a, dctx_b, dctx_c; in main() local
258 for (auto &&ctx : {dctx_a, dctx_b, dctx_c}) PetscCall(PetscDeviceContextSynchronize(ctx)); in main()
277 PetscCall(PetscDeviceContextDuplicate(dctx_a, &dctx_b)); in main()
278 PetscCall(PetscObjectSetName(PetscObjectCast(dctx_b), "dctx_b")); in main()
282 PetscCall(PetscDeviceContextViewFromOptions(dctx_b, nullptr, "-dctx_b_view")); in main()
331 PetscCall(test_multiple_readers({dctx_a, dctx_b}, 0)); in main()
332 PetscCall(test_multiple_readers({dctx_a, dctx_b}, 1)); in main()
336 PetscCall(mem_read(dctx_b, y)); in main()
341 make_map_entry(y_id, PETSC_MEMORY_ACCESS_READ, dctx_b) in main()
345 PetscCall(PetscDeviceContextSynchronize(dctx_b)); in main()
[all …]