Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ phases:
echo "Correctly installed CUDA ${cuda_output}"

echo "Testing CUDA with deviceQuery..."
if [ {{ test.OSArchitecture.outputs.stdout }} != 'arm64' ]; then
if [ -f /usr/local/cuda-${cuda_ver}/extras/demo_suite/deviceQuery ]; then
Copy link
Contributor

@hanwen-cluster hanwen-cluster Jan 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you explain this change?
Why was it checking architecture and now checking whether a file exists?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because before, device query was in a different location for arm, but now it has been moved to the same location as arm. But al2 is still on the old cuda version so it still needs to look at the old location.

/usr/local/cuda-${cuda_ver}/extras/demo_suite/deviceQuery | grep -o "Result = PASS"
[[ $? -ne 0 ]] && echo "CUDA deviceQuery test failed" && exit 1
else
Expand Down
Loading