Skip to content

Commit

Permalink
test CI 2
Browse files Browse the repository at this point in the history
  • Loading branch information
glou-nes authored and wsmoses committed Jan 3, 2025
1 parent 9d82b9f commit d4c71bb
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/Precompile.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@ using PrecompileTools: @setup_workload, @compile_workload

@setup_workload begin
initialize_dialect()
cpu = XLA.CPUClient()
@compile_workload begin
x = Reactant.ConcreteRArray(randn(Float64, 2, 2); client=cpu)
@code_hlo optimize = false sum(x)
interp = Reactant.ReactantInterpreter()
Base.code_ircode(sum, (Reactant.TracedRArray{Float64,2},); interp)
end
XLA.free_client(cpu)
deinitialize_dialect()
XLA.cpuclientcount[] = 0
end

0 comments on commit d4c71bb

Please sign in to comment.