wsl/hsakmt: Adjust the event handling warning log

InterruptSignal is not used in wsl thunk. In order to avoid printing
redundancy caused by calling related event interfaces, the warning log
has been adjusted here.

Signed-off-by: Horatio Zhang <Hongkun.Zhang@amd.com>
Reviewed-by: Flora Cui <flora.cui@amd.com>
This commit is contained in:
Horatio Zhang authored and Frank Min committed 2025-11-05 18:53:35 +08:00
1 parent f552bbc199
commit 7466852f0c
1 file changed
+2 -2
+2 -2
View File
@@ -40,10 +40,10 @@ HSAKMT_STATUS HSAKMTAPI hsaKmtCreateEvent(HsaEventDescriptor *EventDesc,
HSAKMT_STATUS HSAKMTAPI hsaKmtDestroyEvent(HsaEvent *Event) {
CHECK_DXG_OPEN();
pr_warn_once("not supported\n");
if (!Event)
return HSAKMT_STATUS_INVALID_HANDLE;
return HSAKMT_STATUS_SUCCESS;
pr_warn_once("not supported\n");
assert(false);
return HSAKMT_STATUS_SUCCESS;
}