Skip to content

Commit fd35952

Browse files
Update benchmarking.jl definition of big (#697)
* Update benchmarking.jl definition of big That was much larger than intended 😅 * Update autotune.md
1 parent b86d145 commit fd35952

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/src/tutorials/autotune.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Control which matrix size ranges to test:
7373
# :small - 20×20 to 100×100 (small problems)
7474
# :medium - 100×100 to 300×300 (typical problems)
7575
# :large - 300×300 to 1000×1000 (larger problems)
76-
# :big - 10000×10000 to 100000×100000 (GPU/HPC scale)
76+
# :big - 10000×1000 to 20000x20000 (GPU/HPC scale)
7777

7878
# Default: test tiny through large
7979
results = autotune_setup() # uses [:tiny, :small, :medium, :large]
@@ -449,4 +449,4 @@ LinearSolveAutotune provides a comprehensive system for benchmarking and optimiz
449449
- Performance visualization
450450
- Preference setting for automatic algorithm selection (in development)
451451

452-
By running autotune and optionally sharing your results, you help improve LinearSolve.jl's performance for everyone in the Julia community.
452+
By running autotune and optionally sharing your results, you help improve LinearSolve.jl's performance for everyone in the Julia community.

lib/LinearSolveAutotune/src/benchmarking.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ Size categories:
187187
- `:small` - 20:20:100 (for small problems)
188188
- `:medium` - 100:50:300 (for typical problems)
189189
- `:large` - 300:100:1000 (for larger problems)
190-
- `:big` - 10000:1000:100000 (for very large/GPU problems)
190+
- `:big` - vcat(1000:2000:10000, 10000:5000:20000) (for very large/GPU problems)
191191
"""
192192
function get_benchmark_sizes(size_categories::Vector{Symbol})
193193
sizes = Int[]
@@ -202,7 +202,7 @@ function get_benchmark_sizes(size_categories::Vector{Symbol})
202202
elseif category == :large
203203
append!(sizes, 300:100:1000)
204204
elseif category == :big
205-
append!(sizes, 10000:1000:100000)
205+
append!(sizes, vcat(1000:2000:10000, 10000:5000:20000))
206206
else
207207
@warn "Unknown size category: $category. Skipping."
208208
end
@@ -236,7 +236,7 @@ function categorize_results(df::DataFrame)
236236
("small (20-100)", 21:100),
237237
("medium (100-300)", 101:300),
238238
("large (300-1000)", 301:1000),
239-
("big (10000+)", 10000:typemax(Int))
239+
("big (1000+)", 1000:typemax(Int))
240240
]
241241

242242
# Get unique element types

0 commit comments

Comments
 (0)