Commit b2cb64e7 authored by Paul's avatar Paul
Browse files

Fix adjust gpu test

parent 3bdf9f82
...@@ -58,7 +58,7 @@ TEST_CASE(tanh_shape) ...@@ -58,7 +58,7 @@ TEST_CASE(tanh_shape)
if(ins->name() == "hip::allocate") if(ins->name() == "hip::allocate")
{ {
migraphx::shape new_s{migraphx::shape::float_type, {3, 2}, {1, 3}}; migraphx::shape new_s{migraphx::shape::float_type, {3, 2}, {1, 3}};
migraphx::instruction::replace(ins, ins->get_operator(), new_s, ins->inputs()); ins->replace(migraphx::gpu::hip_allocate{new_s});
} }
} }
EXPECT(p1 != p2); EXPECT(p1 != p2);
......
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