Skip to content

Commit b9b441f

Browse files
authored
[UR][Benchmarks] Fix minor benchmark issues (#19243)
Fix minor issues with Gromacs (build timeout) and Benchdnn (stop creating backups) Signed-off-by: Mateusz P. Nowak <mateusz.p.nowak@intel.com>
1 parent af818da commit b9b441f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

devops/scripts/benchmarks/benches/benchdnn.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def setup(self):
7777
"-DCMAKE_BUILD_TYPE=Release",
7878
"-DDNNL_BUILD_TESTS=ON",
7979
"-DDNNL_BUILD_EXAMPLES=OFF",
80-
"-DDNNL_CPU_RUNTIME=NONE", # Disable SYCL support
80+
"-DDNNL_CPU_RUNTIME=NONE", # Disable SYCL CPU support
8181
"-DDNNL_GPU_RUNTIME=SYCL", # Enable SYCL GPU support
8282
]
8383
run(
@@ -89,6 +89,7 @@ def setup(self):
8989
f"cmake --build {self.build_dir} --target benchdnn -j {options.build_jobs}",
9090
add_sycl=True,
9191
ld_library=[str(self.build_dir) + "/src"] + self.oneapi.ld_libraries(),
92+
timeout=60 * 20,
9293
)
9394

9495
def teardown(self):

devops/scripts/benchmarks/benches/gromacs.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,11 @@ def setup(self):
154154
f"{str(model_dir)}/{self.type}.tpr",
155155
]
156156

157+
env_vars = {"GMX_MAXBACKUP": "-1"}
157158
# Generate configuration files
158159
self.conf_result = run(
159160
cmd_list,
161+
env_vars=env_vars,
160162
add_sycl=True,
161163
ld_library=self.suite.oneapi.ld_libraries(),
162164
)

0 commit comments

Comments
 (0)