Add hmm tests for gfx90a CI
MODIFY
.jenkins/common.groovy
.jenkins/common.groovy
@@ -32,11 +32,24 @@ def runTestCommand (platform, project)
String centos = platform.jenkinsLabel.contains('centos') ? '3' : ''
def testCommand = "ctest${centos} --output-on-failure"
- def command = """#!/usr/bin/env bash
+ def hmmTestCommand = ''
+
+ if (platform.jenkinsLabel.contains('gfx90a'))
+ {
+ hmmTestCommand = """
+ export HSA_XNACK=1
+ export ROCTHRUST_USE_HMM=1
+ ${testCommand} -R device_ptr.hip
+ """
+ }
+
+ def command = """
+ #!/usr/bin/env bash
set -x
cd ${project.paths.project_build_prefix}
cd ${project.testDirectory}
- ${sudo} LD_LIBRARY_PATH=/opt/rocm/lib ${testCommand}
+ ${testCommand}
+ ${hmmTestCommand}
"""
platform.runCommand(this, command)

Add hmm tests for gfx90a CI (#182)