feature: Add timestamp node to encode post sync args

Added a timestamp node to EncodePostSyncArgs to use
additional timestamp information if required,
Modified event object to use the timestamp added in
EncodePostSyncArgs.

Related-To: NEO-13003

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
This commit is contained in:
Young Jin Yoon
2025-04-30 19:16:48 +00:00
committed by Compute-Runtime-Automation
parent edd230b6cb
commit f844dbc88f
11 changed files with 111 additions and 8 deletions

View File

@@ -59,6 +59,7 @@ struct EncodePostSyncArgs {
NEO::InOrderExecInfo *inOrderExecInfo = nullptr;
bool isCounterBasedEvent = false;
bool isTimestampEvent = false;
NEO::TagNodeBase *tsNode = nullptr;
bool isHostScopeSignalEvent = false;
bool isUsingSystemAllocation = false;
bool dcFlushEnable = false;
@@ -88,6 +89,9 @@ struct EncodePostSync {
template <typename CommandType>
static void setupPostSyncForInOrderExec(CommandType &cmd, const EncodePostSyncArgs &args);
template <typename CommandType>
static void setupPostSyncForTimestamp(CommandType &cmd, const EncodePostSyncArgs &args);
static uint32_t getPostSyncMocs(const RootDeviceEnvironment &rootDeviceEnvironment, const bool dcFlush);
template <typename CommandType>