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
3f3dea3d
Commit
3f3dea3d
authored
Jun 26, 2018
by
Paul
Browse files
Use pic
parent
be65d7bf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
requirements.txt
requirements.txt
+1
-1
src/onnx/CMakeLists.txt
src/onnx/CMakeLists.txt
+3
-1
No files found.
requirements.txt
View file @
3f3dea3d
google/protobuf
google/protobuf
-DCMAKE_POSITION_INDEPENDENT_CODE=On
RadeonOpenCompute/rocm-cmake@3f43e2d493f24abbab4dc189a9ab12cc3ad33baf
--build
RadeonOpenCompute/rocm-cmake@3f43e2d493f24abbab4dc189a9ab12cc3ad33baf
--build
ROCmSoftwarePlatform/MIOpen,http://gitlab1.amd.com/pfultz/miopen/-/archive/57dd8372fa043f4bb500ac297f2c479e1c819e89/miopen-57dd8372fa043f4bb500ac297f2c479e1c819e89.tar.bz2
-DMIOPEN_CACHE_DIR=""
ROCmSoftwarePlatform/MIOpen,http://gitlab1.amd.com/pfultz/miopen/-/archive/57dd8372fa043f4bb500ac297f2c479e1c819e89/miopen-57dd8372fa043f4bb500ac297f2c479e1c819e89.tar.bz2
-DMIOPEN_CACHE_DIR=""
src/onnx/CMakeLists.txt
View file @
3f3dea3d
...
@@ -5,10 +5,12 @@ add_library(onnx-proto STATIC ${PROTO_SRCS})
...
@@ -5,10 +5,12 @@ add_library(onnx-proto STATIC ${PROTO_SRCS})
target_include_directories
(
onnx-proto SYSTEM PUBLIC
${
CMAKE_CURRENT_BINARY_DIR
}
${
PROTOBUF_INCLUDE_DIR
}
)
target_include_directories
(
onnx-proto SYSTEM PUBLIC
${
CMAKE_CURRENT_BINARY_DIR
}
${
PROTOBUF_INCLUDE_DIR
}
)
target_compile_options
(
onnx-proto PRIVATE -w
)
target_compile_options
(
onnx-proto PRIVATE -w
)
target_link_libraries
(
onnx-proto PRIVATE
${
PROTOBUF_LIBRARY
}
)
target_link_libraries
(
onnx-proto PRIVATE
${
PROTOBUF_LIBRARY
}
)
set_target_properties
(
onnx-proto PROPERTIES POSITION_INDEPENDENT_CODE On
)
add_library
(
rtg_onnx onnx.cpp
)
add_library
(
rtg_onnx onnx.cpp
)
rocm_clang_tidy_check
(
rtg_onnx
)
rocm_clang_tidy_check
(
rtg_onnx
)
target_link_libraries
(
rtg_onnx onnx-proto rtg
)
target_link_libraries
(
rtg_onnx PRIVATE onnx-proto
)
target_link_libraries
(
rtg_onnx PUBLIC rtg
)
add_executable
(
read_onnx read_onnx.cpp
)
add_executable
(
read_onnx read_onnx.cpp
)
rocm_clang_tidy_check
(
read_onnx
)
rocm_clang_tidy_check
(
read_onnx
)
...
...
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