mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 13:33:02 +08:00
performance: check completion alloc only once when waiting for Event
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
ed972bb21c
commit
712e059ace
@@ -214,7 +214,7 @@ class CommandQueue : public BaseObject<_cl_command_queue> {
|
||||
|
||||
volatile TagAddressType *getHwTagAddress() const;
|
||||
|
||||
bool isCompleted(TaskCountType gpgpuTaskCount, CopyEngineState bcsState);
|
||||
MOCKABLE_VIRTUAL bool isCompleted(TaskCountType gpgpuTaskCount, CopyEngineState bcsState);
|
||||
|
||||
bool isWaitForTimestampsEnabled() const;
|
||||
virtual bool waitForTimestamps(Range<CopyEngineState> copyEnginesToWait, TaskCountType taskCount, WaitStatus &status, TimestampPacketContainer *mainContainer, TimestampPacketContainer *deferredContainer) = 0;
|
||||
|
||||
Reference in New Issue
Block a user