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
dea32e56
Commit
dea32e56
authored
Nov 09, 2018
by
Paul
Browse files
Add packaging
parent
d1d0a75d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
CMakeLists.txt
CMakeLists.txt
+1
-1
src/targets/gpu/CMakeLists.txt
src/targets/gpu/CMakeLists.txt
+2
-2
No files found.
CMakeLists.txt
View file @
dea32e56
...
@@ -17,7 +17,7 @@ else()
...
@@ -17,7 +17,7 @@ else()
set
(
CMAKE_INSTALL_PREFIX
"/opt/rocm"
CACHE PATH
""
)
set
(
CMAKE_INSTALL_PREFIX
"/opt/rocm"
CACHE PATH
""
)
endif
()
endif
()
project
(
migraph
lib
)
project
(
migraph
)
find_package
(
ROCM REQUIRED
)
find_package
(
ROCM REQUIRED
)
include
(
ROCMSetupVersion
)
include
(
ROCMSetupVersion
)
...
...
src/targets/gpu/CMakeLists.txt
View file @
dea32e56
...
@@ -10,7 +10,7 @@ if(NOT TARGET MIOpen)
...
@@ -10,7 +10,7 @@ if(NOT TARGET MIOpen)
message
(
SEND_ERROR
"Cant find miopen"
)
message
(
SEND_ERROR
"Cant find miopen"
)
endif
()
endif
()
add_library
(
migraph_device
STATIC
add_library
(
migraph_device
device/add.cpp
device/add.cpp
device/add_relu.cpp
device/add_relu.cpp
device/contiguous.cpp
device/contiguous.cpp
...
@@ -47,7 +47,7 @@ target_link_libraries(migraph_gpu PUBLIC migraph MIOpen roc::rocblas)
...
@@ -47,7 +47,7 @@ target_link_libraries(migraph_gpu PUBLIC migraph MIOpen roc::rocblas)
target_link_libraries
(
migraph_gpu PRIVATE migraph_device
)
target_link_libraries
(
migraph_gpu PRIVATE migraph_device
)
rocm_install_targets
(
rocm_install_targets
(
TARGETS migraph_gpu
TARGETS migraph_gpu
migraph_device
INCLUDE
INCLUDE
${
CMAKE_CURRENT_SOURCE_DIR
}
/include
${
CMAKE_CURRENT_SOURCE_DIR
}
/include
)
)
...
...
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