Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
68d69739
Commit
68d69739
authored
Jul 25, 2018
by
Paul
Browse files
Rename tests
parent
2d2b7873
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
src/CMakeLists.txt
src/CMakeLists.txt
+1
-1
src/onnx/CMakeLists.txt
src/onnx/CMakeLists.txt
+1
-1
test/CMakeLists.txt
test/CMakeLists.txt
+6
-6
test/gpu/miopen.cpp
test/gpu/miopen.cpp
+0
-0
No files found.
src/CMakeLists.txt
View file @
68d69739
...
...
@@ -10,6 +10,6 @@ target_include_directories(migraph PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOUR
add_subdirectory
(
onnx
)
add_subdirectory
(
targets/cpu
)
if
(
MIGRAPH_ENABLE_
MIOPEN
)
if
(
MIGRAPH_ENABLE_
GPU
)
add_subdirectory
(
targets/gpu
)
endif
()
src/onnx/CMakeLists.txt
View file @
68d69739
...
...
@@ -20,7 +20,7 @@ add_executable(mnist mnist.cpp)
rocm_clang_tidy_check
(
mnist
)
target_link_libraries
(
mnist migraph_cpu migraph_onnx
)
if
(
MIGRAPH_ENABLE_
MIOPEN
)
if
(
MIGRAPH_ENABLE_
GPU
)
add_executable
(
verify_onnx verify_onnx.cpp
)
rocm_clang_tidy_check
(
verify_onnx
)
target_link_libraries
(
verify_onnx migraph_onnx migraph_cpu migraph_miopen
)
...
...
test/CMakeLists.txt
View file @
68d69739
...
...
@@ -95,13 +95,13 @@ foreach(TEST ${TESTS})
add_test_executable
(
test_
${
BASE_NAME
}
${
TEST
}
)
endforeach
()
if
(
MIGRAPH_ENABLE_
MIOPEN
)
#
miopen
tests
file
(
GLOB
MIOPEN
_TESTS
miopen
/*.cpp
)
if
(
MIGRAPH_ENABLE_
GPU
)
#
gpu
tests
file
(
GLOB
GPU
_TESTS
gpu
/*.cpp
)
foreach
(
TEST
${
MIOPEN
_TESTS
}
)
foreach
(
TEST
${
GPU
_TESTS
}
)
get_filename_component
(
BASE_NAME
${
TEST
}
NAME_WE
)
add_test_executable
(
test_
miopen
_
${
BASE_NAME
}
${
TEST
}
)
target_link_libraries
(
test_
miopen
_
${
BASE_NAME
}
migraph_gpu
)
add_test_executable
(
test_
gpu
_
${
BASE_NAME
}
${
TEST
}
)
target_link_libraries
(
test_
gpu
_
${
BASE_NAME
}
migraph_gpu
)
endforeach
()
endif
()
test/
miopen
/miopen.cpp
→
test/
gpu
/miopen.cpp
View file @
68d69739
File moved
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