SWDEV-333237 - Disable cache status
Enable Cache status only for ROC_EVENT_NO_FLUSH Change-Id: I0de4c5af2226bccd66fd704be23c2db33050f2e2
Этот коммит содержится в:
@@ -2657,7 +2657,9 @@ void Device::getHwEventTime(const amd::Event& event, uint64_t* start, uint64_t*
|
||||
|
||||
// ================================================================================================
|
||||
bool Device::IsCacheFlushed(Device::CacheState state) const {
|
||||
return (static_cast<int>(state) == cache_state_.load(std::memory_order_relaxed));
|
||||
|
||||
return ROC_EVENT_NO_FLUSH ?
|
||||
(static_cast<int>(state) == cache_state_.load(std::memory_order_relaxed)) : true;
|
||||
}
|
||||
|
||||
// ================================================================================================
|
||||
|
||||
Ссылка в новой задаче
Block a user