Searched refs:petscmatformat (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/mat/tests/ |
| H A D | bench_spmv.c | 126 PetscErrorCode TimedSpMV(Mat A, Vec b, PetscReal *time, const char *petscmatformat, PetscBool use_g… in TimedSpMV() argument 135 PetscCall(PetscStrcmp(petscmatformat, MATAIJCUSPARSE, &isaijcusparse)); in TimedSpMV() 136 PetscCall(PetscStrcmp(petscmatformat, MATAIJHIPSPARSE, &isaijhipsparse)); in TimedSpMV() 137 PetscCall(PetscStrcmp(petscmatformat, MATAIJKOKKOS, &isaijkokkos)); in TimedSpMV() 138 PetscCall(PetscStrcmp(petscmatformat, MATSELLCUDA, &issellcuda)); in TimedSpMV() 139 PetscCall(PetscStrcmp(petscmatformat, MATSELLHIP, &issellhip)); in TimedSpMV() 149 PetscCall(MatSetType(A2, petscmatformat)); in TimedSpMV() 167 PetscErrorCode WarmUpDevice(Mat A, Vec b, const char *petscmatformat) in WarmUpDevice() argument 175 PetscCall(PetscStrcmp(petscmatformat, MATAIJCUSPARSE, &isaijcusparse)); in WarmUpDevice() 176 PetscCall(PetscStrcmp(petscmatformat, MATAIJHIPSPARSE, &isaijhipsparse)); in WarmUpDevice() [all …]
|