Searched refs:repetitions (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/mat/tests/ |
| H A D | bench_spmv.c | 76 …PetscReal starting_spmv_time, const char *const matformat, PetscBool use_gpu, PetscInt repetitions) in UpdateJSON() argument 94 …mat, "time"), (spmv_times[i] - ((i == 0) ? starting_spmv_time : spmv_times[i - 1])) / repetitions); in UpdateJSON() 95 cJSON_SetIntValue(cJSON_GetObjectItem(format, "repetitions"), repetitions); in UpdateJSON() 99 …rmat, "time", (spmv_times[i] - ((i == 0) ? starting_spmv_time : spmv_times[i - 1])) / repetitions); in UpdateJSON() 100 cJSON_AddNumberToObject(format, "repetitions", repetitions); in UpdateJSON() 107 …rmat, "time", (spmv_times[i] - ((i == 0) ? starting_spmv_time : spmv_times[i - 1])) / repetitions); in UpdateJSON() 108 cJSON_AddNumberToObject(format, "repetitions", repetitions); in UpdateJSON() 126 …Mat A, Vec b, PetscReal *time, const char *petscmatformat, PetscBool use_gpu, PetscInt repetitions) in TimedSpMV() argument 145 for (i = 0; i < repetitions; i++) { in TimedSpMV() 163 if (repetitions > 0 && use_gpu) PetscCall(MatDestroy(&A2)); in TimedSpMV() [all …]
|
| /petsc/src/benchmarks/ |
| H A D | run_petsc_benchmarks.sh | 76 … ${LAUNCHER} ../mat/tests/bench_spmv -formats "${FORMATS}" -repetitions 5 -use_gpu -AJSON "$1" 78 ${LAUNCHER} ../mat/tests/bench_spmv -formats "${FORMATS}" -repetitions 5 -AJSON "$1"
|