libhsakmt: Correct number of io_links
Inside Docker, when limit GPU number to one, it may cause node
numIOLinks bigger than total node number.
Signed-off-by: Gang Ba <gaba@amd.com>
Change-Id: Ib84f2f05f8e0c70e48b9043b79aec02b5a214bbe
[ROCm/ROCR-Runtime commit: 7652932c38]
Bu işleme şunda yer alıyor:
@@ -1861,7 +1861,7 @@ retry:
|
||||
link_id++;
|
||||
}
|
||||
/* sysfs specifies all the io links. Limit the number to valid ones */
|
||||
num_ioLinks = link_id;
|
||||
temp_props[i].node.NumIOLinks = link_id;
|
||||
}
|
||||
|
||||
if (num_p2pLinks) {
|
||||
|
||||
Yeni konuda referans
Bir kullanıcı engelle