From 6d7096b12f2297992368a0f007e539049683d9d0 Mon Sep 17 00:00:00 2001 From: Jimmy MA <9068135+tpppppub@users.noreply.github.com> Date: Thu, 6 Jun 2024 11:23:23 +0800 Subject: [PATCH] Update simple_pphlo.cc --- examples/cpp/simple_pphlo.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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";