Skip to content

Commit 0ce136b

Browse files
committed
changes to configuration files of dpbench benchmarks
1 parent 5316d96 commit 0ce136b

File tree

9 files changed

+35
-0
lines changed

9 files changed

+35
-0
lines changed

dpbench/configs/bench_info/black_scholes.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,12 @@ seed = 777777
4646

4747
[benchmark.init]
4848
func_name = "initialize"
49+
types_dict_name="types_dict"
50+
precision="double"
4951
input_args = [
5052
"nopt",
5153
"seed",
54+
"types_dict",
5255
]
5356
output_args = [
5457
"price",

dpbench/configs/bench_info/dbscan.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,14 @@ seed = 777777
4141

4242
[benchmark.init]
4343
func_name = "initialize"
44+
types_dict_name="types_dict"
45+
precision="double"
4446
input_args = [
4547
"n_samples",
4648
"n_features",
4749
"centers",
4850
"seed",
51+
"types_dict",
4952
]
5053
output_args = [
5154
"data",

dpbench/configs/bench_info/gpairs.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,15 @@ rmin = 0.1
6363

6464
[benchmark.init]
6565
func_name = "initialize"
66+
types_dict_name="types_dict"
67+
precision="double"
6668
input_args = [
6769
"nopt",
6870
"seed",
6971
"nbins",
7072
"rmax",
7173
"rmin",
74+
"types_dict",
7275
]
7376
output_args = [
7477
"x1",

dpbench/configs/bench_info/kmeans.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,15 @@ ncentroids = 10
5858

5959
[benchmark.init]
6060
func_name = "initialize"
61+
types_dict_name="types_dict"
62+
precision="double"
6163
input_args = [
6264
"npoints",
6365
"niters",
6466
"seed",
6567
"ndims",
6668
"ncentroids",
69+
"types_dict",
6770
]
6871
output_args = [
6972
"arrayP",

dpbench/configs/bench_info/knn.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,16 @@ k = 5
6262

6363
[benchmark.init]
6464
func_name = "initialize"
65+
types_dict_name="types_dict"
66+
precision="double"
6567
input_args = [
6668
"test_size",
6769
"train_size",
6870
"data_dim",
6971
"classes_num",
7072
"seed_test",
7173
"seed_train",
74+
"types_dict",
7275
]
7376
output_args = [
7477
"x_train",

dpbench/configs/bench_info/l2_norm.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,13 @@ seed = 777777
3939

4040
[benchmark.init]
4141
func_name = "initialize"
42+
types_dict_name="types_dict"
43+
precision="double"
4244
input_args = [
4345
"npoints",
4446
"dims",
4547
"seed",
48+
"types_dict",
4649
]
4750
output_args = [
4851
"a",

dpbench/configs/bench_info/pairwise_distance.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,13 @@ seed = 7777777
4141

4242
[benchmark.init]
4343
func_name = "initialize"
44+
types_dict_name="types_dict"
45+
precision="double"
4446
input_args = [
4547
"npoints",
4648
"dims",
4749
"seed",
50+
"types_dict",
4851
]
4952
output_args = [
5053
"X1",

dpbench/configs/bench_info/rambo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,12 @@ nout = 4
4242

4343
[benchmark.init]
4444
func_name = "initialize"
45+
types_dict_name="types_dict"
46+
precision="double"
4547
input_args = [
4648
"nevts",
4749
"nout",
50+
"types_dict",
4851
]
4952
output_args = [
5053
"C1",
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# SPDX-FileCopyrightText: 2022 - 2023 Intel Corporation
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
5+
[int]
6+
single = "i4"
7+
double = "i8"
8+
9+
[float]
10+
single = "f4"
11+
double = "f8"

0 commit comments

Comments
 (0)