Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JLL related fixups #706

Merged
merged 5 commits into from
Feb 8, 2025
Merged

JLL related fixups #706

merged 5 commits into from
Feb 8, 2025

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

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
1 participant