"vscode:/vscode.git/clone" did not exist on "c3b0ba9d61c398b7bea0bbe1c44a2b10fd0cbd0a"
Unverified Commit 418b38f9 authored by Paul Fultz II's avatar Paul Fultz II Committed by GitHub
Browse files

Merge branch 'develop' into tf_pb_py

parents 82b60de9 efe3a9f0
...@@ -22,7 +22,7 @@ find_package(ROCM REQUIRED) ...@@ -22,7 +22,7 @@ find_package(ROCM REQUIRED)
include(ROCMSetupVersion) include(ROCMSetupVersion)
rocm_setup_version(VERSION 0.1) rocm_setup_version(VERSION 0.2)
option( BUILD_SHARED_LIBS "Build as a shared library" ON ) option( BUILD_SHARED_LIBS "Build as a shared library" ON )
......
...@@ -3,6 +3,7 @@ def rocmtestnode(variant, name, body) { ...@@ -3,6 +3,7 @@ def rocmtestnode(variant, name, body) {
def image = 'migraphxlib' def image = 'migraphxlib'
def cmake_build = { compiler, flags -> def cmake_build = { compiler, flags ->
def cmd = """ def cmd = """
env
ulimit -c unlimited ulimit -c unlimited
rm -rf build rm -rf build
mkdir build mkdir build
...@@ -20,21 +21,22 @@ def rocmtestnode(variant, name, body) { ...@@ -20,21 +21,22 @@ def rocmtestnode(variant, name, body) {
} }
} }
node(name) { node(name) {
stage("checkout ${variant}") { withEnv(['HSA_ENABLE_SDMA=0', 'MIOPEN_DEBUG_GCN_ASM_KERNELS=0']) {
env.HSA_ENABLE_SDMA=0 stage("checkout ${variant}") {
checkout scm checkout scm
} }
stage("image ${variant}") { stage("image ${variant}") {
try { try {
docker.build("${image}", '.') docker.build("${image}", '.')
} catch(Exception ex) { } catch(Exception ex) {
docker.build("${image}", '--no-cache .') docker.build("${image}", '--no-cache .')
}
} }
} withDockerContainer(image: image, args: '--device=/dev/kfd --device=/dev/dri --group-add video --cap-add SYS_PTRACE') {
withDockerContainer(image: image, args: '--device=/dev/kfd --device=/dev/dri --group-add video --cap-add SYS_PTRACE') { timeout(time: 1, unit: 'HOURS') {
timeout(time: 1, unit: 'HOURS') { body(cmake_build)
body(cmake_build) }
} }
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment