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
418b38f9
Unverified
Commit
418b38f9
authored
Mar 15, 2019
by
Paul Fultz II
Committed by
GitHub
Mar 15, 2019
Browse files
Merge branch 'develop' into tf_pb_py
parents
82b60de9
efe3a9f0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
14 deletions
+16
-14
CMakeLists.txt
CMakeLists.txt
+1
-1
Jenkinsfile
Jenkinsfile
+15
-13
No files found.
CMakeLists.txt
View file @
418b38f9
...
...
@@ -22,7 +22,7 @@ find_package(ROCM REQUIRED)
include
(
ROCMSetupVersion
)
rocm_setup_version
(
VERSION 0.
1
)
rocm_setup_version
(
VERSION 0.
2
)
option
(
BUILD_SHARED_LIBS
"Build as a shared library"
ON
)
...
...
Jenkinsfile
View file @
418b38f9
...
...
@@ -3,6 +3,7 @@ def rocmtestnode(variant, name, body) {
def
image
=
'migraphxlib'
def
cmake_build
=
{
compiler
,
flags
->
def
cmd
=
"""
env
ulimit -c unlimited
rm -rf build
mkdir build
...
...
@@ -20,21 +21,22 @@ def rocmtestnode(variant, name, body) {
}
}
node
(
name
)
{
stage
(
"checkout ${variant}"
)
{
env
.
HSA_ENABLE_SDMA
=
0
checkout
scm
}
stage
(
"image ${variant}"
)
{
try
{
docker
.
build
(
"${image}"
,
'.'
)
}
catch
(
Exception
ex
)
{
docker
.
build
(
"${image}"
,
'--no-cache .'
)
withEnv
([
'HSA_ENABLE_SDMA=0'
,
'MIOPEN_DEBUG_GCN_ASM_KERNELS=0'
]
)
{
stage
(
"checkout ${variant}"
)
{
checkout
scm
}
stage
(
"image ${variant}"
)
{
try
{
docker
.
build
(
"${image}"
,
'.'
)
}
catch
(
Exception
ex
)
{
docker
.
build
(
"${image}"
,
'--no-cache .'
)
}
}
}
withDockerContainer
(
image:
image
,
args:
'--device=/dev/kfd --device=/dev/dri --group-add video --cap-add SYS_PTRACE
'
)
{
timeout
(
time:
1
,
unit:
'HOURS'
)
{
body
(
cmake_build
)
withDockerContainer
(
image:
image
,
args:
'--device=/dev/kfd --device=/dev/dri --group-add video --cap-add SYS_PTRACE'
)
{
timeout
(
time:
1
,
unit:
'HOURS
'
)
{
body
(
cmake_build
)
}
}
}
}
...
...
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