"...gpu/git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "d1e274261ed16e374c8e97242f95ee1c7f04d1ed"
Commit ac756709 authored by Shucai Xiao's avatar Shucai Xiao
Browse files

clang format

parent 283e1112
...@@ -546,8 +546,8 @@ TEST_CASE(sqrt_test) ...@@ -546,8 +546,8 @@ TEST_CASE(sqrt_test)
{ {
migraphx::program p; migraphx::program p;
migraphx::shape s{migraphx::shape::float_type, {5}}; migraphx::shape s{migraphx::shape::float_type, {5}};
auto l = auto l = p.add_literal(
p.add_literal(migraphx::literal{s, {1.02481645, 0.85643062, 0.03404123, 0.92791926, 0.10569184}}); migraphx::literal{s, {1.02481645, 0.85643062, 0.03404123, 0.92791926, 0.10569184}});
p.add_instruction(migraphx::op::sqrt{}, l); p.add_instruction(migraphx::op::sqrt{}, l);
p.compile(migraphx::cpu::target{}); p.compile(migraphx::cpu::target{});
auto result = p.eval({}); auto result = p.eval({});
......
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