2021-05-21 01:17:57 +02:00
|
|
|
/*
|
2022-01-20 16:56:19 +00:00
|
|
|
* Copyright (C) 2018-2022 Intel Corporation
|
2021-05-21 01:17:57 +02:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "shared/source/os_interface/os_interface.h"
|
2022-05-11 22:36:36 +00:00
|
|
|
#include "shared/source/os_interface/windows/wddm/wddm.h"
|
2021-05-21 01:17:57 +02:00
|
|
|
|
|
|
|
namespace NEO {
|
|
|
|
|
|
|
|
bool OSInterface::osEnabled64kbPages = true;
|
|
|
|
bool OSInterface::newResourceImplicitFlush = false;
|
|
|
|
bool OSInterface::gpuIdleImplicitFlush = false;
|
|
|
|
bool OSInterface::requiresSupportForWddmTrimNotification = true;
|
|
|
|
|
|
|
|
bool OSInterface::isDebugAttachAvailable() const {
|
2022-05-11 22:36:36 +00:00
|
|
|
if (driverModel) {
|
|
|
|
return driverModel->as<NEO::Wddm>()->isDebugAttachAvailable();
|
|
|
|
}
|
2021-05-21 01:17:57 +02:00
|
|
|
return false;
|
|
|
|
}
|
2022-01-20 16:56:19 +00:00
|
|
|
|
2021-05-21 01:17:57 +02:00
|
|
|
} // namespace NEO
|