Commit a3affafc authored by Shucai Xiao's avatar Shucai Xiao
Browse files

clang format

parent 8822f5d8
......@@ -16,14 +16,15 @@
TEST_CASE(target_copy)
{
auto run_prog = [](migraphx::program p, const migraphx::target& t,
migraphx::program::parameter_map& m_in, std::vector<float>& res)
{
auto run_prog = [](migraphx::program p,
const migraphx::target& t,
migraphx::program::parameter_map& m_in,
std::vector<float>& res) {
p.compile(t);
migraphx::program::parameter_map m;
for (auto&& x : p.get_parameter_shapes())
for(auto&& x : p.get_parameter_shapes())
{
if (m_in.count(x.first) > 0)
if(m_in.count(x.first) > 0)
{
m[x.first] = t.copy_to(m_in[x.first]);
}
......
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