Skip to content

Commit 4c87214

Browse files
committed
fixup
1 parent 40240ee commit 4c87214

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

deps/ReactantExtra/WORKSPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ http_archive(
99
urls = ["https://github.com/wsmoses/nsync/archive/{commit}.tar.gz".format(commit = NSYNC_COMMIT)],
1010
)
1111

12-
ENZYMEXLA_COMMIT = "1d9cab766d5c35646da956a3b32aff9d61315f90"
12+
ENZYMEXLA_COMMIT = "64a1c283072d4ce4eb319c69b32a6f3c68f30cbe"
1313
ENZYMEXLA_SHA256 = ""
1414

1515
http_archive(

ext/ReactantCUDAExt.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -656,6 +656,7 @@ Reactant.@reactant_overlay @noinline function (func::LLVMFunc{F,tt})(
656656
fn=MLIR.IR.FlatSymbolRefAttribute(sym_name),
657657
output_operand_aliases=MLIR.IR.Attribute(output_operand_aliases),
658658
)
659+
@show string(call), typeof(func.f), collect(map(typeof, args))
659660

660661
argidx = 1
661662
for arg in values(seen)

src/Compiler.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ function compile_mlir!(mod, f, args; optimize::Union{Bool,Symbol}=true, no_nan::
387387
end
388388
kern = "lower-kernel{run_init=true toolkitPath=$toolkit cuLaunchKernelPtr=$(cuLaunch[]) cuModuleLoadDataPtr=$(cuModule[]) cuModuleGetFunctionPtr=$(cuFunc[])},symbol-dce"
389389

390-
opt_passes = optimization_passes(; no_nan)
390+
opt_passes = optimization_passes(; no_nan, sroa=true)
391391
opt_passes2 = optimization_passes(; no_nan, sroa=false)
392392

393393
if optimize === :all

0 commit comments

Comments
 (0)