Skip to content

Commit af9d5da

Browse files
committed
rmprint
1 parent cc839da commit af9d5da

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

ext/ReactantCUDAExt.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -442,14 +442,12 @@ function get_field_offset(T::Type, path)
442442
toffset = fieldoffset(current_type, field_idx)
443443
tcurrent_type = fieldtype(current_type, field_idx)
444444
offset += toffset
445-
@show current_type, field_idx, toffset, offset, tcurrent_type
446445

447446
# Update current_type to the field's type for next iteration
448447
current_type = tcurrent_type
449448

450449
end
451450

452-
@show T, path, offset
453451

454452
return offset
455453
end
@@ -557,7 +555,6 @@ Reactant.@reactant_overlay @noinline function (func::LLVMFunc{F,tt})(
557555
1,
558556
)
559557
push!(allocs, (alloc, argty))
560-
@show string(alloc), string(argty), typeof(a)
561558

562559
sz = sizeof(a)
563560
array_ty = MLIR.IR.Type(MLIR.API.mlirLLVMArrayTypeGet(MLIR.IR.Type(Int8), sz))
@@ -664,7 +661,6 @@ Reactant.@reactant_overlay @noinline function (func::LLVMFunc{F,tt})(
664661
fn=MLIR.IR.FlatSymbolRefAttribute(sym_name),
665662
output_operand_aliases=MLIR.IR.Attribute(output_operand_aliases),
666663
)
667-
# @show string(call), typeof(func.f), collect(map(typeof, args))
668664

669665
argidx = 1
670666
for arg in values(seen)

src/Compiler.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,8 +314,6 @@ end
314314
const enzyme_pass::String = "enzyme{postpasses=\"arith-raise{stablehlo=true},canonicalize,cse,canonicalize,remove-unnecessary-enzyme-ops,enzyme-simplify-math,canonicalize,cse,canonicalize\"}"
315315

316316
function run_pass_pipeline!(mod, pass_pipeline; enable_verifier=true)
317-
@show pass_pipeline
318-
flush(stdout)
319317
pm = MLIR.IR.PassManager()
320318
MLIR.IR.enable_verifier!(pm, enable_verifier)
321319
opm = MLIR.IR.OpPassManager(pm)

0 commit comments

Comments
 (0)