aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/perf_monitoring/gemm/gemv_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'bench/perf_monitoring/gemm/gemv_common.h')
-rw-r--r--bench/perf_monitoring/gemm/gemv_common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/perf_monitoring/gemm/gemv_common.h b/bench/perf_monitoring/gemm/gemv_common.h
index 65ee6cbd1..55ee0ff8b 100644
--- a/bench/perf_monitoring/gemm/gemv_common.h
+++ b/bench/perf_monitoring/gemm/gemv_common.h
@@ -47,14 +47,14 @@ double bench(long m, long n, Func &f)
}
template<typename Func>
-int main_gemv(int argc, char **argv, Func& f, const std::string &setting_filename)
+int main_gemv(int argc, char **argv, Func& f)
{
std::vector<double> results;
std::string filename = std::string("gemv_settings.txt");
if(argc>1)
filename = std::string(argv[1]);
- std::ifstream settings(setting_filename);
+ std::ifstream settings(filename);
long m, n;
while(settings >> m >> n)
{