Skip to content

Commit

Permalink
mmmmmmmmmmmmmmmmmmmmm
Browse files Browse the repository at this point in the history
  • Loading branch information
VarLad committed Dec 30, 2023
1 parent 3c79065 commit d36f33e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion perf/GLM/allocs.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using PerfChecker

j = @prep :allocs Dict(:threads => 1, :targets => ["GLM"], :path => @__DIR__, :track => "user") begin
j = @prep :alloc Dict(:threads => 1, :targets => ["GLM"], :path => @__DIR__, :track => "user") begin
using GLM, Random, StatsModels
@check begin
n = 2_500_000
Expand Down
4 changes: 2 additions & 2 deletions src/allocations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ macro prep(x, d, block)
quote
g = prep($d, $block, $x)

p = Distributed.remotecall_fetch(Core.eval, 1, Main,
p = remotecall_fetch(Core.eval, 1, Main,
Expr(:toplevel, quote
import Distributed
d = $($d)
Expand All @@ -35,7 +35,7 @@ macro prep(x, d, block)
j = remotecall_fetch(Core.eval, p, Main,
Expr(:toplevel, g.args...))

Distributed.remotecall_fetch(Core.eval, 1, Main,
remotecall_fetch(Core.eval, 1, Main,
Expr(:toplevel, quote
import Distributed
Distributed.rmprocs($p)
Expand Down

0 comments on commit d36f33e

Please sign in to comment.