Skip to content

Conversation

@wsmoses
Copy link
Member

@wsmoses wsmoses commented Feb 7, 2025

Fix #676, fix #695, fix #699.

Comment on lines +163 to +166
@ccall MLIR.API.mlir_c.InitializePasses(
registry[]::MLIR.API.MlirDialectRegistry
)::Cvoid
passes_initialized[] = true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
@ccall MLIR.API.mlir_c.InitializePasses(
registry[]::MLIR.API.MlirDialectRegistry
)::Cvoid
passes_initialized[] = true
@ccall MLIR.API.mlir_c.InitializePasses(
registry[]::MLIR.API.MlirDialectRegistry
)::Cvoid
passes_initialized[] = true

Comment on lines +220 to +226
if !Reactant.precompiling()
try
gpu = GPUClient()
backends["gpu"] = gpu
default_backend[] = gpu
catch e
println(stdout, e)
println(stdout, e)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
if !Reactant.precompiling()
try
gpu = GPUClient()
backends["gpu"] = gpu
default_backend[] = gpu
catch e
println(stdout, e)
println(stdout, e)
if !Reactant.precompiling()
try
gpu = GPUClient()
backends["gpu"] = gpu
default_backend[] = gpu
catch e
println(stdout, e)
end

println(stdout, e)
println(stdout, e)
end
end
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
end

@wsmoses wsmoses requested a review from giordano February 7, 2025 23:55
Comment on lines +712 to +714
run_pass_pipeline!(
mod, "canonicalize"
)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
run_pass_pipeline!(
mod, "canonicalize"
)
run_pass_pipeline!(mod, "canonicalize")

Comment on lines +716 to +718
run_pass_pipeline!(
mod, "enzyme-batch"
)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
run_pass_pipeline!(
mod, "enzyme-batch"
)
run_pass_pipeline!(mod, "enzyme-batch")

@wsmoses wsmoses merged commit c20b142 into main Feb 8, 2025
34 of 39 checks passed
@wsmoses wsmoses deleted the jllfx branch February 8, 2025 04:31
wsmoses added a commit that referenced this pull request Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Integration with NFFT.jl Segfault on convert_simplify optimization with complex numbers Missing adjoint of stablehlo.gather

1 participant