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
c59d175c
Commit
c59d175c
authored
Nov 16, 2021
by
Paul
Browse files
Remove old cmake flag
parent
15177ac0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
14 deletions
+0
-14
src/targets/gpu/CMakeLists.txt
src/targets/gpu/CMakeLists.txt
+0
-14
No files found.
src/targets/gpu/CMakeLists.txt
View file @
c59d175c
...
...
@@ -311,20 +311,6 @@ if(MIGRAPHX_ENABLE_MLIR)
target_link_libraries
(
migraphx_gpu PUBLIC
${
MLIRAPI_LIBRARY
}
)
endif
()
set
(
MIGRAPHX_ENABLE_MLIR_MIOPEN OFF CACHE BOOL
""
)
if
(
MIGRAPHX_ENABLE_MLIR_MIOPEN
)
find_library
(
LIBMLIRMIOPEN MLIRMIOpenThin REQUIRED
)
# REQUIRED is not supported before cmake 3.18
if
(
NOT LIBMLIRMIOPEN
)
message
(
FATAL_ERROR
"libMLIRMIOpenThin not found"
)
else
()
message
(
STATUS
"Build with libMLIRMIOpenThin: "
${
LIBMLIRMIOPEN
}
)
endif
()
target_compile_definitions
(
migraphx_gpu PRIVATE
"-DMIGRAPHX_MLIR_MIOPEN_SUPPORT"
)
target_link_libraries
(
migraphx_gpu PUBLIC
${
LIBMLIRMIOPEN
}
)
endif
()
set
(
MIGRAPHX_USE_HIPRTC OFF CACHE BOOL
""
)
if
(
MIGRAPHX_USE_HIPRTC
)
target_compile_definitions
(
migraphx_gpu PRIVATE -DMIGRAPHX_USE_HIPRTC=1
)
...
...
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