Update jenkinsfile

[ROCm/hip-tests commit: aad0aac16c]
This commit is contained in:
Maneesh Gupta
2023-07-31 18:37:16 +05:30
committed by GitHub
parent 27a7591e94
commit 783f4f0e80
+2 -2
View File
@@ -64,10 +64,10 @@ def hipBuildTest(String backendLabel) {
echo "testing $HIP_PATH"
# Check if backend label contains string "amd" or backend host is a server with amd gpu
if [[ $backendLabel =~ amd ]]; then
cmake -DHIP_PLATFORM=amd ../catch
cmake -DHIP_PLATFORM=amd -DHIP_PATH=\$CLR_DIR/build/install ../catch
else
export HIP_PLATFORM=nvidia
cmake -DHIP_PLATFORM=nvidia ../catch
cmake -DHIP_PLATFORM=nvidia -DHIP_PATH=\$CLR_DIR/build/install ../catch
fi
make -j\$(nproc) build_tests
"""