Skip to content

Commit 21476ec

Browse files
authored
Needs more work, but this is a definite improvement on a few benchmarks. (#61)
1 parent 083c6ee commit 21476ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/block_sizes.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ This would be awkard if there are computers with prime numbers of cores. I shoul
207207
Mᵣ, Nᵣ = matmul_params()
208208
factors = calc_factors()
209209
for (miter, niter) factors
210-
if miter * ((MᵣW_mul_factor() - One()) * Mᵣ) M + (W + W)
210+
if miter * (StaticInt(2) * Mᵣ * W) M + (W + W)
211211
return miter, niter
212212
end
213213
end

0 commit comments

Comments
 (0)