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>
Этот коммит содержится в:
коммит произвёл
Frank Min
родитель
f552bbc199
Коммит
7466852f0c
+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;
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user