Skip to content

Commit 7904eef

Browse files
committed
added new version to bench, using default thread number
1 parent 463fb38 commit 7904eef

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

perftest/bench.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,7 @@ class Params:
8080
tol: float
8181

8282

83-
thread_num = int(os.cpu_count())
84-
85-
versions = ['v2.2.0', 'v2.3.0']
83+
versions = ['v2.2.0', 'v2.3.0', 'v2.4.0']
8684
fft_lib = ['fftw', 'ducc']
8785
upsamp = ['1.25', '2.00']
8886
transform = ['3', '2', '1']
@@ -92,8 +90,8 @@ class Params:
9290
Params('d', 1e4, 1, 1, 1, 1, 1e7, 1e-9),
9391
Params('f', 320, 320, 1, 1, 1, 1e7, 1e-5),
9492
Params('d', 320, 320, 1, 1, 1, 1e7, 1e-9),
95-
Params('f', 320, 320, 1, thread_num, thread_num, 1e7, 1e-5),
96-
Params('d', 192, 192, 128, 1, thread_num, 1e7, 1e-7),
93+
Params('f', 320, 320, 1, 0, 0, 1e7, 1e-5),
94+
Params('d', 192, 192, 128, 1, 0, 1e7, 1e-7),
9795
]
9896
fft_params = Params('d', 250, 250, 250, 1, 1, 1e2, 1e-7)
9997

0 commit comments

Comments
 (0)