diff --git a/examples/cpp/simple_pphlo.cc b/examples/cpp/simple_pphlo.cc index f39182df..e3bd780a 100644 --- a/examples/cpp/simple_pphlo.cc +++ b/examples/cpp/simple_pphlo.cc @@ -76,7 +76,7 @@ void parameters(spu::SPUContext* sctx) { constexpr auto code = R"PPHlo( func.func @main(%arg0: tensor>, %arg1: tensor>) -> () { %0 = pphlo.multiply %arg0, %arg1 : (tensor>, tensor>) -> tensor> - pphlo.dbg_print %0 : tensor> + pphlo.custom_call @dbg_print (%0) {has_side_effect = true} : (tensor>)->() return })PPHlo";