Skip to content

Commit

Permalink
Allow binary input for benchmark vectors
Browse files Browse the repository at this point in the history
  • Loading branch information
upsj committed Apr 4, 2024
1 parent b6494e8 commit 81355a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark/solver/solver_common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ struct SolverGenerator : DefaultSystemGenerator<> {
{
if (config.contains("rhs")) {
std::ifstream rhs_fd{config["rhs"].get<std::string>()};
return gko::read<Vec>(rhs_fd, std::move(exec));
return gko::read_generic<Vec>(rhs_fd, std::move(exec));
} else {
gko::dim<2> vec_size{system_matrix->get_size()[0], FLAGS_nrhs};
if (FLAGS_rhs_generation == "1") {
Expand Down

0 comments on commit 81355a7

Please sign in to comment.