Searched refs:mat_type (Results 1 – 3 of 3) sorted by relevance
| /libCEED/examples/fluids/ |
| H A D | navierstokes.c | 143 MatType mat_type = NULL; in main() local 157 if (strstr(vec_type, VECCUDA)) mat_type = MATAIJCUSPARSE; in main() 158 else if (strstr(vec_type, VECKOKKOS)) mat_type = MATAIJKOKKOS; in main() 159 else mat_type = MATAIJ; in main() 160 PetscCall(CreateDM(comm, problem, mat_type, vec_type, &dm)); in main()
|
| /libCEED/examples/fluids/src/ |
| H A D | setupdm.c | 19 PetscErrorCode CreateDM(MPI_Comm comm, ProblemData problem, MatType mat_type, VecType vec_type, DM … in CreateDM() argument 29 PetscCall(DMSetMatType(*dm, mat_type)); in CreateDM()
|
| H A D | mat-ceed.c | 111 MatType mat_type; in MatCeedAssemblePointBlockDiagonalCOO() local 115 PetscCall(MatGetType(mat_coo, &mat_type)); in MatCeedAssemblePointBlockDiagonalCOO() 116 if (strstr(mat_type, "cusparse")) mem_type = CEED_MEM_DEVICE; in MatCeedAssemblePointBlockDiagonalCOO() 117 else if (strstr(mat_type, "kokkos")) mem_type = CEED_MEM_DEVICE; in MatCeedAssemblePointBlockDiagonalCOO() 721 MatType mat_type; in MatCeedAssembleCOO() local 725 PetscCall(MatGetType(mat_coo, &mat_type)); in MatCeedAssembleCOO() 726 if (strstr(mat_type, "cusparse")) mem_type = CEED_MEM_DEVICE; in MatCeedAssembleCOO() 727 else if (strstr(mat_type, "kokkos")) mem_type = CEED_MEM_DEVICE; in MatCeedAssembleCOO()
|