mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 14:02:58 +08:00
feature: flush task count on cmd list hostSynchronize if needed
Related-To: NEO-7966 Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
33d6e775aa
commit
7e6e0da978
@@ -547,5 +547,4 @@ EnableAIL=1
|
||||
WaitForUserFenceOnEventHostSynchronize = -1
|
||||
ProgramUserInterruptOnResolvedDependency = -1
|
||||
ProgramBarrierInCommandStreamTask = -1
|
||||
UseCounterAllocToSyncInOrderCmdList = -1
|
||||
# Please don't edit below this line
|
||||
|
||||
@@ -57,3 +57,15 @@
|
||||
} \
|
||||
return funcName##Result; \
|
||||
}
|
||||
|
||||
#define ADDMETHOD_CONST(funcName, retType, callBase, defaultReturn, funcParams, invokeParams) \
|
||||
retType funcName##Result = defaultReturn; \
|
||||
bool funcName##CallBase = callBase; \
|
||||
mutable uint32_t funcName##Called = 0u; \
|
||||
retType funcName funcParams const override { \
|
||||
funcName##Called++; \
|
||||
if (funcName##CallBase) { \
|
||||
return BaseClass::funcName invokeParams; \
|
||||
} \
|
||||
return funcName##Result; \
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user