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
OpenDAS
dgl
Commits
86ba2335
Unverified
Commit
86ba2335
authored
Jun 01, 2021
by
nv-dlasalle
Committed by
GitHub
Jun 01, 2021
Browse files
[Testing] Enable C++ tests on GPU (#2945)
* Enable C++ tests on GPU * Add missing '--runtime nvidia'
parent
b8fe2b48
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
3 deletions
+21
-3
Jenkinsfile
Jenkinsfile
+21
-3
No files found.
Jenkinsfile
View file @
86ba2335
...
...
@@ -42,9 +42,9 @@ def build_dgl_win64(dev) {
pack_lib
(
"dgl-${dev}-win64"
,
dgl_win64_libs
)
}
def
cpp_unit_test_linux
()
{
def
cpp_unit_test_linux
(
dev
)
{
init_git
()
unpack_lib
(
'
dgl-
cpu
-linux
'
,
dgl_linux_libs
)
unpack_lib
(
"
dgl-
${dev}
-linux
"
,
dgl_linux_libs
)
sh
'bash tests/scripts/task_cpp_unit_test.sh'
}
...
...
@@ -251,7 +251,25 @@ pipeline {
}
}
steps
{
cpp_unit_test_linux
()
cpp_unit_test_linux
(
'cpu'
)
}
post
{
always
{
cleanWs
disableDeferredWipeout:
true
,
deleteDirs:
true
}
}
}
stage
(
'C++ GPU'
)
{
agent
{
docker
{
label
'linux-gpu-node'
image
'dgllib/dgl-ci-gpu:conda'
args
'--runtime nvidia'
alwaysPull
true
}
}
steps
{
cpp_unit_test_linux
(
'gpu'
)
}
post
{
always
{
...
...
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