[L0][XE_HPC]Perform memcpy on CPU by default

Related-To: NEO-7237

Enable copy on cpu by default.
This commit also changes barrierCounter to bool
barrierCalled

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
Szymon Morek
2022-09-26 15:41:35 +00:00
committed by Compute-Runtime-Automation
parent 196fa63e2a
commit 7ded401615
12 changed files with 46 additions and 21 deletions

View File

@@ -720,6 +720,9 @@ bool HwHelperHw<GfxFamily>::isPatIndexFallbackWaRequired() const {
template <typename gfxProduct>
bool HwHelperHw<gfxProduct>::copyThroughLockedPtrEnabled() const {
if (DebugManager.flags.ExperimentalCopyThroughLock.get() != -1) {
return DebugManager.flags.ExperimentalCopyThroughLock.get() == 1;
}
return false;
}