Skip to content

Commit f102e69

Browse files
committed
Print HLO
1 parent ac6ee1c commit f102e69

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/nn/lux.jl

+6
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ end
4545
@info @__LINE__
4646
f = Reactant.compile((a, b, c, d) -> first(a(b, c, d)), (cmodel, cnoisy, cps, cst))
4747
@info @__LINE__
48+
Reactant.Compiler.compile_mlir((a, b, c, d) -> first(a(b, c, d)), (cmodel, cnoisy, cps, cst))
49+
@info @__LINE__
4850

4951
comp = f(cmodel, cnoisy, cps, cst)
5052
@info @__LINE__
@@ -65,6 +67,10 @@ end
6567
gradient_loss_function, (cmodel, cnoisy, ctarget, cps, cst2)
6668
)
6769
@info @__LINE__
70+
Reactant.Compiler.compile_mlir(
71+
gradient_loss_function, (cmodel, cnoisy, ctarget, cps, cst2)
72+
)
73+
@info @__LINE__
6874

6975
res_reactant, dps_reactant = compiled_gradient(cmodel, cnoisy, ctarget, cps, cst2)
7076
@info @__LINE__

0 commit comments

Comments
 (0)