Commit c61c099f authored by Brian Pickrell's avatar Brian Pickrell
Browse files

formatting

parent 81d45161
......@@ -69,12 +69,11 @@ TEST_CASE(concurrent_targets)
for(auto i = 0u; i < n_threads; i++)
{
auto thread_body = [&target_name]() {
// remove all existing targets, if any
std::vector<std::string> target_list = migraphx::get_targets();
for(auto tt : target_list)
migraphx::unregister_target(tt);
auto ref_target = migraphx::make_target(target_name);
migraphx::register_target(ref_target);
EXPECT(test::throws([&] { ref_target = migraphx::make_target("xyz"); }));
......
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