wsl/hsakmt: add VendorPacket to VersionCapInfo

Provide the query for hsa-runtime to decide whether dispatch
vendor packet to wsl-thunk

Signed-off-by: Longlong Yao <Longlong.Yao@amd.com>
Reviewed-by: Flora Cui <flora.cui@amd.com>
Part-of: <http://10.67.69.192/wsl/libhsakmt/-/merge_requests/30>
This commit is contained in:
Longlong Yao authored and Frank Min committed 2025-11-05 18:53:35 +08:00
1 parent 7bf51b889f
commit f402bf55eb
4 files changed
+10

No files matched your search

+2
View File
@@ -48,5 +48,7 @@ hsaKmtGetVersionCapInfo(HsaVersionCapability *VersionCapInfo) {
VersionCapInfo->ui64.Scratch = 0;
VersionCapInfo->ui64.XNack = 0;*/
VersionCapInfo->ui64.VendorPacket = enable_vendor_packet;
return HSAKMT_STATUS_SUCCESS;
}