Home
last modified time | relevance | path

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

/petsc/src/mat/tests/
H A Dbench_spmv.c76 …es, PetscReal starting_spmv_time, const char *const matformat, PetscBool use_gpu, PetscInt repetit… in UpdateJSON() argument
126 …pMV(Mat A, Vec b, PetscReal *time, const char *petscmatformat, PetscBool use_gpu, PetscInt repetit… in TimedSpMV() argument
146 if (use_gpu) { in TimedSpMV()
163 if (repetitions > 0 && use_gpu) PetscCall(MatDestroy(&A2)); in TimedSpMV()
223 PetscErrorCode MapToPetscMatType(const char *matformat, PetscBool use_gpu, char **petscmatformat) in MapToPetscMatType() argument
230 if (use_gpu) { in MapToPetscMatType()
241 if (use_gpu) { in MapToPetscMatType()
268 PetscBool bflg, flg1, flg2, flg3, use_gpu = PETSC_FALSE, permute = PETSC_FALSE; in main() local
281 PetscCall(PetscOptionsGetBool(NULL, NULL, "-use_gpu", &use_gpu, NULL)); in main()
293 …PetscCheck(!use_gpu, PETSC_COMM_WORLD, PETSC_ERR_USER_INPUT, "To use the option -use_gpu 1, PETSc … in main()
[all …]
/petsc/src/benchmarks/
H A Drun_petsc_benchmarks.sh76 … ${LAUNCHER} ../mat/tests/bench_spmv -formats "${FORMATS}" -repetitions 5 -use_gpu -AJSON "$1"