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
2024-10-21 16:42:38 +08:00
committed by Frank Min
parent f552bbc199
commit 7466852f0c
+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;
}