Browse Source

add missing read of iteration count to json task description reader

master
Constantin Fürst 1 year ago
parent
commit
071ed9be18
  1. 1
      benchmarks/task-data.hpp

1
benchmarks/task-data.hpp

@ -54,6 +54,7 @@ inline void to_json(nlohmann::json& j, const TaskData& a) {
inline void from_json(const nlohmann::json& j, TaskData& a) { inline void from_json(const nlohmann::json& j, TaskData& a) {
j["task"]["size"].get_to(a.size); j["task"]["size"].get_to(a.size);
j["task"]["iterations"].get_to(a.rep_count);
j["task"]["batching"]["batch_submit"].get_to(a.batch_submit); j["task"]["batching"]["batch_submit"].get_to(a.batch_submit);
j["task"]["batching"]["batch_size"].get_to(a.batch_size); j["task"]["batching"]["batch_size"].get_to(a.batch_size);
j["affinity"]["node"].get_to(a.numa_node); j["affinity"]["node"].get_to(a.numa_node);

Loading…
Cancel
Save