Home
last modified time | relevance | path

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

/petsc/src/mat/impls/aij/mpi/kokkos/
H A Dmpiaijkok.kokkos.cxx1552 PetscContainer container_h, container_d; in MatSetPreallocationCOO_MPIAIJKokkos() local
1569 PetscCall(PetscContainerCreate(PETSC_COMM_SELF, &container_d)); in MatSetPreallocationCOO_MPIAIJKokkos()
1570 PetscCall(PetscContainerSetPointer(container_d, coo_d)); in MatSetPreallocationCOO_MPIAIJKokkos()
1571 PetscCall(PetscContainerSetCtxDestroy(container_d, MatCOOStructDestroy_MPIAIJKokkos)); in MatSetPreallocationCOO_MPIAIJKokkos()
1572 …all(PetscObjectCompose((PetscObject)mat, "__PETSc_MatCOOStruct_Device", (PetscObject)container_d)); in MatSetPreallocationCOO_MPIAIJKokkos()
1573 PetscCall(PetscContainerDestroy(&container_d)); in MatSetPreallocationCOO_MPIAIJKokkos()
/petsc/src/mat/interface/
H A Dmatrix.c4934 PetscObject dm, container_h, container_d; in MatDuplicate() local
4969 PetscCall(PetscObjectQuery((PetscObject)mat, "__PETSc_MatCOOStruct_Device", &container_d)); in MatDuplicate()
4970 …if (container_d) PetscCall(PetscObjectCompose((PetscObject)B, "__PETSc_MatCOOStruct_Device", conta… in MatDuplicate()