mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 05:24:02 +08:00
fix: add limitations for setting gmm flag Cacheable
- move isCachingOnCpuAvailable to product helper - isCachingOnCpuAvailable should return false on mtl - if wsl, skip checking method from product helper Related-To: NEO-7194 Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
6f21d133cf
commit
d2436a8231
@@ -56,6 +56,7 @@ struct RootDeviceEnvironment {
|
||||
HardwareInfo *getMutableHardwareInfo() const;
|
||||
void setHwInfoAndInitHelpers(const HardwareInfo *hwInfo);
|
||||
bool isFullRangeSvm() const;
|
||||
bool isWddmOnLinux() const;
|
||||
|
||||
MOCKABLE_VIRTUAL void initAubCenter(bool localMemoryEnabled, const std::string &aubFileName, CommandStreamReceiverType csrType);
|
||||
bool initOsInterface(std::unique_ptr<HwDeviceId> &&hwDeviceId, uint32_t rootDeviceIndex);
|
||||
@@ -118,6 +119,7 @@ struct RootDeviceEnvironment {
|
||||
GraphicsAllocationUniquePtrType dummyAllocation = nullptr;
|
||||
|
||||
bool limitedNumberOfCcs = false;
|
||||
bool isWddmOnLinuxEnable = false;
|
||||
std::once_flag isDummyAllocationInitialized;
|
||||
std::unique_ptr<AllocationProperties> dummyBlitProperties;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user