Skip to content

Commit 281b304

Browse files
authored
[UR][Benchmark] fix the MKL path for Gromacs bench (#18563)
Fix the configuration of the Gromacs benchmark
1 parent b8cc70c commit 281b304

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

devops/scripts/benchmarks/benches/gromacs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def setup(self):
7777
f"-DGMX_SYCL_ENABLE_EXPERIMENTAL_SUBMIT_API=ON",
7878
f"-DGMX_FFT_LIBRARY=MKL",
7979
f"-DGMX_GPU_FFT_LIBRARY=MKL",
80-
f"-DMKL_DIR={self.oneapi.mkl_cmake()}",
80+
f"-DMKLROOT={self.oneapi.mkl_dir()}",
8181
f"-DGMX_GPU_NB_CLUSTER_SIZE=8",
8282
f"-DGMX_GPU_NB_NUM_CLUSTER_PER_CELL_X=1",
8383
f"-DGMX_OPENMP=OFF",

devops/scripts/benchmarks/utils/oneapi.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ def package_cmake(self, package):
5555
package_lib = self.package_dir(package, "lib")
5656
return os.path.join(package_lib, "cmake", package)
5757

58+
def mkl_dir(self):
59+
return self.package_dir("mkl", "")
60+
5861
def mkl_lib(self):
5962
return self.package_dir("mkl", "lib")
6063

0 commit comments

Comments
 (0)