wsl/libhsakmt: add get_num_wddmdev()
Signed-off-by: Flora Cui <flora.cui@amd.com> Reviewed-by: Tianci Yin <tianci.yin@amd.com> Part-of: <http://10.67.69.192/wsl/rocr-runtime/-/merge_requests/82>
This commit is contained in:
@@ -1461,3 +1461,7 @@ wsl::thunk::WDDMDevice *get_wddmdev(uint32_t node_id) {
|
||||
|
||||
return dxg_topology->wdevices_[node_id - 1];
|
||||
}
|
||||
|
||||
uint32_t get_num_wddmdev() {
|
||||
return dxg_topology->wdevices_.size();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user