Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
b207910c
Commit
b207910c
authored
Sep 21, 2023
by
Uros Petkovic
Committed by
Artur Wojcik
Sep 27, 2023
Browse files
Porting targets cpu cmake script for using ZenDNN and BLIS
parent
39d89ede
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
src/targets/cpu/CMakeLists.txt
src/targets/cpu/CMakeLists.txt
+5
-1
No files found.
src/targets/cpu/CMakeLists.txt
View file @
b207910c
...
@@ -61,7 +61,11 @@ option(MIGRAPHX_ENABLE_ZENDNN "" OFF)
...
@@ -61,7 +61,11 @@ option(MIGRAPHX_ENABLE_ZENDNN "" OFF)
if
(
MIGRAPHX_ENABLE_ZENDNN
)
if
(
MIGRAPHX_ENABLE_ZENDNN
)
find_path
(
ZENDNN_INC_PATH zendnn.hpp
)
find_path
(
ZENDNN_INC_PATH zendnn.hpp
)
find_library
(
ZENDNN_LIB amdZenDNN
)
find_library
(
ZENDNN_LIB amdZenDNN
)
if
(
WIN32
)
find_library
(
BLIS_LIB AOCL-LibBlis-Win
)
else
()
find_library
(
BLIS_LIB blis
)
find_library
(
BLIS_LIB blis
)
endif
()
elif
(
NOT WIN32
)
elif
(
NOT WIN32
)
find_package
(
dnnl REQUIRED
)
find_package
(
dnnl REQUIRED
)
endif
()
endif
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment