Skip to content

Commit

Permalink
Merge pull request #287 from AlexanderKalistratov/make_m_size_more_la…
Browse files Browse the repository at this point in the history
…ptop_freindly

Modify M preset for workloads to better fit systems with integrated GPU and 16GB of ram
  • Loading branch information
ZzEeKkAa authored Jul 25, 2023
2 parents 4144d22 + e4f1682 commit d5d0fc4
Show file tree
Hide file tree
Showing 10 changed files with 52 additions and 1 deletion.
4 changes: 4 additions & 0 deletions dpbench/configs/bench_info/black_scholes.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ output_args = [
nopt = 524288
seed = 777777

[benchmark.parameters.M16Gb]
nopt = 67108864
seed = 777777

[benchmark.parameters.M]
nopt = 134217728
seed = 777777
Expand Down
6 changes: 6 additions & 0 deletions dpbench/configs/bench_info/dbscan.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ n_features = 10
centers = 10
seed = 777777

[benchmark.parameters.M16Gb]
n_samples = 8192
n_features = 10
centers = 10
seed = 777777

[benchmark.parameters.M]
n_samples = 8192
n_features = 10
Expand Down
7 changes: 7 additions & 0 deletions dpbench/configs/bench_info/gpairs.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ nbins = 20
rmax = 50
rmin = 0.1

[benchmark.parameters.M16Gb]
nopt = 4096
seed = 1234
nbins = 20
rmax = 50
rmin = 0.1

[benchmark.parameters.M]
nopt = 8192
seed = 1234
Expand Down
7 changes: 7 additions & 0 deletions dpbench/configs/bench_info/kmeans.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ seed = 7777777
ndims = 2
ncentroids = 10

[benchmark.parameters.M16Gb]
npoints = 1048576
niters = 30
seed = 7777777
ndims = 2
ncentroids = 10

[benchmark.parameters.M]
npoints = 1048576
niters = 30
Expand Down
9 changes: 9 additions & 0 deletions dpbench/configs/bench_info/knn.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,15 @@ seed_test = 777777
seed_train = 0
k = 5

[benchmark.parameters.M16Gb]
test_size = 8388608
train_size = 1024
data_dim = 16
classes_num = 3
seed_test = 777777
seed_train = 0
k = 5

[benchmark.parameters.M]
test_size = 8388608
train_size = 1024
Expand Down
5 changes: 5 additions & 0 deletions dpbench/configs/bench_info/l2_norm.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ npoints = 32768
dims = 3
seed = 777777

[benchmark.parameters.M16Gb]
npoints = 134217728
dims = 3
seed = 777777

[benchmark.parameters.M]
npoints = 268435456
dims = 3
Expand Down
5 changes: 5 additions & 0 deletions dpbench/configs/bench_info/pairwise_distance.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ npoints = 1024
dims = 3
seed = 7777777

[benchmark.parameters.M16Gb]
npoints = 21846
dims = 3
seed = 7777777

[benchmark.parameters.M]
npoints = 32768
dims = 3
Expand Down
4 changes: 4 additions & 0 deletions dpbench/configs/bench_info/pca.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ expected_failure_implementations = ["numba_dpex_n"]
npoints = 1024
dims = 128

[benchmark.parameters.M16Gb]
npoints = 1048576
dims = 128

[benchmark.parameters.M]
npoints = 1048576
dims = 128
Expand Down
4 changes: 4 additions & 0 deletions dpbench/configs/bench_info/rambo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ output_args = [
nevts = 32768
nout = 4

[benchmark.parameters.M16Gb]
nevts = 16777216
nout = 4

[benchmark.parameters.M]
nevts = 8388608
nout = 4
Expand Down
2 changes: 1 addition & 1 deletion dpbench/console/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def add_run_arguments(parser: argparse.ArgumentParser):
parser.add_argument(
"-p",
"--preset",
choices=["S", "M", "L"],
choices=["S", "M16Gb", "M", "L"],
type=str,
nargs="?",
default="S",
Expand Down

0 comments on commit d5d0fc4

Please sign in to comment.