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
composable_kernel
Commits
3704eacd
Commit
3704eacd
authored
Apr 13, 2022
by
Jehandad Khan
Browse files
Move client app out of examples,
add CI stage for it
parent
ae99bcb9
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
0 deletions
+18
-0
Jenkinsfile
Jenkinsfile
+17
-0
test/CMakeLists.txt
test/CMakeLists.txt
+1
-0
test/client_app/CMakeLists.txt
test/client_app/CMakeLists.txt
+0
-0
test/client_app/client_app.cpp
test/client_app/client_app.cpp
+0
-0
test/client_app/client_app_impl.hpp
test/client_app/client_app_impl.hpp
+0
-0
No files found.
Jenkinsfile
View file @
3704eacd
...
...
@@ -238,6 +238,23 @@ pipeline {
}
}
stage
(
"Client App"
)
{
parallel
{
stage
(
"Run Client App"
)
{
agent
{
label
rocmnode
(
"gfx908"
)}
environment
{
setup_args
=
""" -D CMAKE_CXX_FLAGS="--offload-arch=gfx908 -O3 " -DBUILD_DEV=On """
execute_args
=
""" cd test/client_app && mkdir build && cd build && cmake -DCMAKE_PREFIX_PATH="/opt/rocm" .. && make """
}
steps
{
buildHipClangJobAndReboot
(
setup_args:
setup_args
,
config_targets:
"install"
,
no_reboot:
true
,
build_type:
'Release'
,
execute_cmd:
execute_args
,
prefixpath:
'/usr/local'
)
}
}
}
}
// enable after the cmake file supports packaging
// stage("Packages") {
// when {
...
...
test/CMakeLists.txt
View file @
3704eacd
...
...
@@ -46,3 +46,4 @@ add_subdirectory(grouped_gemm)
add_subdirectory
(
convnd_fwd
)
add_subdirectory
(
reduce
)
add_subdirectory
(
conv2d_bwd_weight
)
# DONOT add client_app, that is tested via CI independently
example/14_
client_app/CMakeLists.txt
→
test/
client_app/CMakeLists.txt
View file @
3704eacd
File moved
example/14_
client_app/client_app.cpp
→
test/
client_app/client_app.cpp
View file @
3704eacd
File moved
example/14_
client_app/client_app_impl.hpp
→
test/
client_app/client_app_impl.hpp
View file @
3704eacd
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