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:
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user