Commit 6ee87f92 authored by Paul's avatar Paul
Browse files

Format

parent b690f385
...@@ -40,7 +40,7 @@ struct compile_op : action<compile_op> ...@@ -40,7 +40,7 @@ struct compile_op : action<compile_op>
auto op = gpu::compile_op(v.at("name").to<std::string>(), ctx, inputs, v); auto op = gpu::compile_op(v.at("name").to<std::string>(), ctx, inputs, v);
auto [host_time, device_time] = time_op(ctx, op, inputs, p.get(v, "iterations", 100)); auto [host_time, device_time] = time_op(ctx, op, inputs, p.get(v, "iterations", 100));
std::cout << op << ": " << host_time << "ms"; std::cout << op << ": " << host_time << "ms";
if (device_time > 0) if(device_time > 0)
std::cout << ", " << device_time << "ms"; std::cout << ", " << device_time << "ms";
std::cout << std::endl; std::cout << std::endl;
} }
......
Markdown is supported
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