performance: Enable ULLS on WSL

Related-To: NEO-10037

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2024-01-12 11:03:10 +00:00
committed by Compute-Runtime-Automation
parent 688b0c5ada
commit 42c2b6b0e2
2 changed files with 4 additions and 4 deletions

View File

@@ -100,9 +100,8 @@ uint64_t OsContextWin::getOfflineDumpContextId(uint32_t deviceIndex) const {
bool OsContextWin::isDirectSubmissionSupported() const {
auto &rootDeviceEnvironment = wddm.getRootDeviceEnvironment();
auto &productHelper = rootDeviceEnvironment.getHelper<ProductHelper>();
auto isWSL = rootDeviceEnvironment.isWddmOnLinux();
return !isWSL && wddm.getWddmVersion() == WddmVersion::wddm20 && productHelper.isDirectSubmissionSupported(rootDeviceEnvironment.getReleaseHelper());
return wddm.getWddmVersion() == WddmVersion::wddm20 && productHelper.isDirectSubmissionSupported(rootDeviceEnvironment.getReleaseHelper());
}
OsContextWin::~OsContextWin() {