Skip to content

Commit 7352c99

Browse files
committed
Used git commit hash far oneMKL Interfaces
1 parent c8def6a commit 7352c99

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ if(_use_onemkl_interfaces)
118118
FetchContent_Declare(
119119
onemkl_interfaces_library
120120
GIT_REPOSITORY https://github.com/oneapi-src/oneMKL.git
121-
GIT_TAG develop
121+
GIT_TAG f2d2dcb4213a435bb60fbb88320c5f24892423ce
122122
)
123123
FetchContent_MakeAvailable(onemkl_interfaces_library)
124124
endif()

scripts/build_locally.py

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ def run(
4040
cmake_opts="",
4141
target="intel",
4242
onemkl_interfaces=False,
43-
no_onemkl_interfaces=False,
4443
):
4544
build_system = None
4645

@@ -101,8 +100,8 @@ def run(
101100
cmake_args += [
102101
"-DDPNP_TARGET_CUDA=ON",
103102
]
104-
if not no_onemkl_interfaces:
105-
onemkl_interfaces = True
103+
# Always builds using oneMKL interfaces for the cuda target
104+
onemkl_interfaces = True
106105

107106
if onemkl_interfaces:
108107
cmake_args += [
@@ -172,16 +171,10 @@ def run(
172171
)
173172
driver.add_argument(
174173
"--onemkl_interfaces",
175-
help="Build using oneMKL Interface",
174+
help="Build using oneMKL Interfaces",
176175
dest="onemkl_interfaces",
177176
action="store_true",
178177
)
179-
driver.add_argument(
180-
"--no-onemkl_interfaces",
181-
help="Build without using oneMKL Interface",
182-
dest="no_onemkl_interfaces",
183-
action="store_true",
184-
)
185178
args = parser.parse_args()
186179

187180
args_to_validate = [
@@ -237,5 +230,4 @@ def run(
237230
cmake_opts=args.cmake_opts,
238231
target=args.target,
239232
onemkl_interfaces=args.onemkl_interfaces,
240-
no_onemkl_interfaces=args.no_onemkl_interfaces,
241233
)

0 commit comments

Comments
 (0)