Skip to content

Commit d7176ea

Browse files
committed
remove show
1 parent 5084059 commit d7176ea

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/diskarrayresults.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ struct GMWOPResult{T,N,G<:GMDWop,CS,ISPEC} <: AbstractEngineArray{T,N}
5353
nothing
5454
end
5555

56-
function compute!(ret,a::DiskArrayEngine.GMWOPResult;runner=LocalRunner,threaded=true,kwargs...)
57-
lr = DiskArrayEngine.optimize_loopranges(a.op,5e8,tol_low=0.2,tol_high=0.05,max_order=2)
56+
function compute!(ret,a::DiskArrayEngine.GMWOPResult;runner=LocalRunner,threaded=true,max_cache=5e8,kwargs...)
57+
lr = DiskArrayEngine.optimize_loopranges(a.op,max_cache,tol_low=0.2,tol_high=0.05,max_order=2)
5858
par_only = runner <: DaggerRunner
5959
outars = create_outars(a.op,lr;par_only)
6060
iout = findfirst(i->Val(i)===a.ires,1:length(outars))

src/executionplan.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -413,8 +413,7 @@ If one of the outputs is a reduction it is important not to have overlapping
413413
loop ranges for a reduction group. This will try to correct loopranges to avoid
414414
the problems mentioned above.
415415
"""
416-
function fix_output_overlap(outspecs,lrbreaks)
417-
@show lrbreaks
416+
function fix_output_overlap(outspecs, lrbreaks)
418417
for outspec in outspecs
419418
mylr = mysub(outspec.lw,lrbreaks)
420419
newbreaks = map(mylr,outspec.lw.windows.members) do breaks,window
@@ -440,7 +439,6 @@ function fix_output_overlap(outspecs,lrbreaks)
440439
breaks
441440
end
442441
end
443-
@show newbreaks
444442
for (lr,b) in zip(mylr,newbreaks)
445443
lr.=b
446444
end

0 commit comments

Comments
 (0)