Add DisableForceToStateless debug flag

Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
Kamil Kopryk
2022-07-15 10:29:50 +00:00
committed by Compute-Runtime-Automation
parent a4e9ede440
commit aed26ec51d
18 changed files with 87 additions and 26 deletions

View File

@@ -398,6 +398,7 @@ EnableChipsetUniqueUUID = -1
ForceSimdMessageSizeInWalker = -1
UseNewQueryTopoIoctl = 1
DisableGpuHangDetection = 0
DisableForceToStateless = 0
EnableRecoverablePageFaults = -1
EnableImplicitMigrationOnFaultableHardware = -1
UseDrmVirtualEnginesForCcs = -1
@@ -432,7 +433,7 @@ FailBuildProgramWithStatefulAccess = -1
ForceUncachedGmmUsageType = 0
OverrideDeviceName = unk
EnablePrivateBO = 0
ExperimentalEnableDeviceAllocationCache = 0
ExperimentalEnableDeviceAllocationCache = 0
OverrideL1CachePolicyInSurfaceStateAndStateless = -1
EnableBcsSwControlWa = -1
ExperimentalEnableL0DebuggerForOpenCL = 0

View File

@@ -616,6 +616,14 @@ struct IsAtMostGfxCore {
}
};
template <GFXCORE_FAMILY gfxCoreFamily>
struct IsBeforeGfxCore {
template <PRODUCT_FAMILY productFamily>
static constexpr bool isMatched() {
return NEO::ToGfxCoreFamily<productFamily>::get() < gfxCoreFamily;
}
};
template <GFXCORE_FAMILY gfxCoreFamily>
struct IsAtLeastGfxCore {
template <PRODUCT_FAMILY productFamily>