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
d10628ee
Commit
d10628ee
authored
Nov 16, 2019
by
Paul
Browse files
Update version
parent
81b0ff5d
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
7 deletions
+8
-7
CMakeLists.txt
CMakeLists.txt
+2
-1
src/CMakeLists.txt
src/CMakeLists.txt
+1
-1
src/onnx/CMakeLists.txt
src/onnx/CMakeLists.txt
+1
-1
src/targets/cpu/CMakeLists.txt
src/targets/cpu/CMakeLists.txt
+1
-1
src/targets/gpu/CMakeLists.txt
src/targets/gpu/CMakeLists.txt
+2
-2
src/tf/CMakeLists.txt
src/tf/CMakeLists.txt
+1
-1
No files found.
CMakeLists.txt
View file @
d10628ee
...
...
@@ -22,7 +22,8 @@ find_package(ROCM REQUIRED)
include
(
ROCMSetupVersion
)
rocm_setup_version
(
VERSION 0.4
)
rocm_setup_version
(
VERSION 0.5
)
set
(
MIGRAPHX_SO_VERSION
${
PROJECT_VERSION_MAJOR
}
.
${
PROJECT_VERSION_MINOR
}
)
option
(
BUILD_SHARED_LIBS
"Build as a shared library"
ON
)
...
...
src/CMakeLists.txt
View file @
d10628ee
...
...
@@ -28,7 +28,7 @@ add_library(migraphx
opt/memory_coloring.cpp
opt/memory_coloring_impl.cpp
)
rocm_set_soversion
(
migraphx
${
PROJECT
_VERSION
}
)
rocm_set_soversion
(
migraphx
${
MIGRAPHX_SO
_VERSION
}
)
rocm_clang_tidy_check
(
migraphx
)
rocm_install_targets
(
TARGETS migraphx
...
...
src/onnx/CMakeLists.txt
View file @
d10628ee
...
...
@@ -9,7 +9,7 @@ set_target_properties(onnx-proto PROPERTIES POSITION_INDEPENDENT_CODE On)
add_library
(
migraphx_onnx onnx.cpp
)
set_target_properties
(
migraphx_onnx PROPERTIES EXPORT_NAME onnx
)
rocm_set_soversion
(
migraphx_onnx
${
PROJECT
_VERSION
}
)
rocm_set_soversion
(
migraphx_onnx
${
MIGRAPHX_SO
_VERSION
}
)
rocm_clang_tidy_check
(
migraphx_onnx
)
target_link_libraries
(
migraphx_onnx PRIVATE onnx-proto
)
target_link_libraries
(
migraphx_onnx PUBLIC migraphx
)
...
...
src/targets/cpu/CMakeLists.txt
View file @
d10628ee
...
...
@@ -5,7 +5,7 @@ add_library(migraphx_cpu
gemm.cpp
)
set_target_properties
(
migraphx_cpu PROPERTIES EXPORT_NAME cpu
)
rocm_set_soversion
(
migraphx_cpu
${
PROJECT
_VERSION
}
)
rocm_set_soversion
(
migraphx_cpu
${
MIGRAPHX_SO
_VERSION
}
)
find_path
(
BLAZE_INCLUDE blaze/Blaze.h
)
find_package
(
Threads
)
...
...
src/targets/gpu/CMakeLists.txt
View file @
d10628ee
...
...
@@ -62,7 +62,7 @@ add_library(migraphx_device
device/tanh.cpp
)
set_target_properties
(
migraphx_device PROPERTIES EXPORT_NAME device
)
rocm_set_soversion
(
migraphx_device
${
PROJECT
_VERSION
}
)
rocm_set_soversion
(
migraphx_device
${
MIGRAPHX_SO
_VERSION
}
)
rocm_clang_tidy_check
(
migraphx_device
)
target_compile_options
(
migraphx_device PRIVATE -std=c++17
)
target_link_libraries
(
migraphx_device migraphx hip::device -Wno-invalid-command-line-argument -amdgpu-target=gfx803 -amdgpu-target=gfx900 -amdgpu-target=gfx906
)
...
...
@@ -104,7 +104,7 @@ add_library(migraphx_gpu
preallocate_param.cpp
)
set_target_properties
(
migraphx_gpu PROPERTIES EXPORT_NAME gpu
)
rocm_set_soversion
(
migraphx_gpu
${
PROJECT
_VERSION
}
)
rocm_set_soversion
(
migraphx_gpu
${
MIGRAPHX_SO
_VERSION
}
)
rocm_clang_tidy_check
(
migraphx_gpu
)
target_link_libraries
(
migraphx_gpu PUBLIC migraphx MIOpen roc::rocblas
)
target_link_libraries
(
migraphx_gpu PRIVATE migraphx_device
)
...
...
src/tf/CMakeLists.txt
View file @
d10628ee
...
...
@@ -21,7 +21,7 @@ set_target_properties(tf-proto PROPERTIES POSITION_INDEPENDENT_CODE On)
add_library
(
migraphx_tf tf.cpp
)
set_target_properties
(
migraphx_tf PROPERTIES EXPORT_NAME tf
)
rocm_set_soversion
(
migraphx_tf
${
PROJECT
_VERSION
}
)
rocm_set_soversion
(
migraphx_tf
${
MIGRAPHX_SO
_VERSION
}
)
rocm_clang_tidy_check
(
migraphx_tf
)
target_link_libraries
(
migraphx_tf PRIVATE tf-proto
)
target_link_libraries
(
migraphx_tf PUBLIC migraphx
)
...
...
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