Commit 2c4a9a15 authored by lmeinen's avatar lmeinen
Browse files

removed block_size param from sequential implementation

parent f5e9cba2
......@@ -39,14 +39,14 @@ int bench_sequential(int run_id, BenchUtil &bench, int num_runs, int matrix_size
return run_id;
}
/// call as: ./lu_bench.cpp num_threads num_runs matrix_size_0 block_size_0 matrix_size_1 block_size_1 ...
/// call as: ./lu_bench.cpp num_threads num_runs matrix_size_0 matrix_size_1 ...
int main(int argc, char **argv)
{
// init
BenchUtil bench("lu_sequential");
if (argc < 3 || argc % 2 != 1)
if (argc < 3)
{
printf("incorrect number of args\n");
return -1;
......@@ -56,7 +56,7 @@ int main(int argc, char **argv)
int num_runs = stoi(argv[2]);
int configs[(argc - 2) / 2][2];
int configs[argc - 2][2];
for (int i = 3, j = 0; i < argc; i += 2, j++)
{
configs[j][0] = stoi(argv[i]);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment