SWDEV-502365 - Track last used command
- This change tries to save extra synchronization packets we may insert as we didnt track the completion signals for every command. We track the current enqueued command until it exits the enqueue stage. We also record the exit scope to know if we flushed the caches - Handle correct release scopes and store completion signal as HW events - Use a new finishCommand implementation to only wait for the command passed as the argument Change-Id: Ie4350c5dd24f5d48dfa6ccbabd892f0544caadcc
这个提交包含在:
@@ -42,8 +42,8 @@ Event::Event(HostQueue& queue, bool profilingEnabled)
|
||||
hw_event_(nullptr),
|
||||
notify_event_(nullptr),
|
||||
device_(&queue.device()),
|
||||
profilingInfo_(profilingEnabled),
|
||||
event_scope_(Device::kCacheStateInvalid) {
|
||||
profilingInfo_(profilingEnabled) {
|
||||
event_entry_scope_.store(Device::kCacheStateInvalid, std::memory_order_relaxed);
|
||||
notified_.clear();
|
||||
}
|
||||
|
||||
@@ -53,8 +53,8 @@ Event::Event()
|
||||
status_(CL_SUBMITTED),
|
||||
hw_event_(nullptr),
|
||||
notify_event_(nullptr),
|
||||
device_(nullptr),
|
||||
event_scope_(Device::kCacheStateInvalid) {
|
||||
device_(nullptr) {
|
||||
event_entry_scope_.store(Device::kCacheStateInvalid, std::memory_order_relaxed);
|
||||
notified_.clear();
|
||||
}
|
||||
|
||||
|
||||
在新工单中引用
屏蔽一个用户