kfdtest: Print a message when there is no GPU
This helps the user to troubleshoot the problem.
Change-Id: If6cf42c488097011285252a6c722d3d74c0f7ce7
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
[ROCm/ROCR-Runtime commit: 4e7b2f2e27]
Esse commit está contido em:
@@ -163,6 +163,11 @@ runKfdTest() {
|
||||
|
||||
if [ "$NODE" == "" ]; then
|
||||
hsaNodes=$(getHsaNodes)
|
||||
|
||||
if [ "$hsaNodes" == "" ]; then
|
||||
echo "No GPU found in the system."
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
hsaNodes=$NODE
|
||||
fi
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário