mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 13:33:02 +08:00
performance: Enable ULLS on WSL
Related-To: NEO-10037 Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
688b0c5ada
commit
42c2b6b0e2
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user