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
33ac7c85
Commit
33ac7c85
authored
Feb 06, 2019
by
Paul
Browse files
Use private
parent
82ea9492
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/py/CMakeLists.txt
src/py/CMakeLists.txt
+2
-2
No files found.
src/py/CMakeLists.txt
View file @
33ac7c85
...
...
@@ -5,11 +5,11 @@ set(PYTHON_EXECUTABLE ${DEFAULT_PYTHON_EXE} CACHE PATH "Path to python executabl
endif
()
find_package
(
pybind11 REQUIRED
)
pybind11_add_module
(
migraphx_py migraphx_py.cpp
)
target_link_libraries
(
migraphx_py migraphx migraphx_onnx migraphx_cpu
)
target_link_libraries
(
migraphx_py
PRIVATE
migraphx migraphx_onnx migraphx_cpu
)
set_target_properties
(
migraphx_py PROPERTIES
OUTPUT_NAME migraphx
)
if
(
MIGRAPHX_ENABLE_GPU
)
target_link_libraries
(
migraphx_py migraphx_gpu
)
target_link_libraries
(
migraphx_py
PRIVATE
migraphx_gpu
)
target_compile_definitions
(
migraphx_py PRIVATE -DHAVE_GPU
)
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