"library/vscode:/vscode.git/clone" did not exist on "3905f4a2453c6c3875fabf5dc5c9b6ff6732a89f"
Commit c827fbfe authored by Shucai Xiao's avatar Shucai Xiao
Browse files

clang format

parent bbd97e94
...@@ -15,8 +15,10 @@ void adjust_allocation::apply(program& p) const ...@@ -15,8 +15,10 @@ void adjust_allocation::apply(program& p) const
if(alias_ins->name() == "hip::allocate") if(alias_ins->name() == "hip::allocate")
{ {
std::cout << "====================" << std::endl; std::cout << "====================" << std::endl;
std::cout << "ins_name = " << ins->name() << ", shape = " << ins->get_shape() << std::endl; std::cout << "ins_name = " << ins->name() << ", shape = " << ins->get_shape()
std::cout << "alias_ins_name = " << alias_ins->name() << ", shape = " << alias_ins->get_shape() << std::endl; << std::endl;
std::cout << "alias_ins_name = " << alias_ins->name()
<< ", shape = " << alias_ins->get_shape() << std::endl;
// shape allocated is different from actual shape // shape allocated is different from actual shape
// of the instruction, reallocate and replace the previous one // of the instruction, reallocate and replace the previous one
if(alias_ins->get_shape() != ins->get_shape()) if(alias_ins->get_shape() != ins->get_shape())
......
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