feature: get command list information for in order noop data

Related-To: NEO-15376

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
Zbigniew Zdanowicz
2025-08-08 12:42:03 +00:00
committed by Compute-Runtime-Automation
parent c2d64cae6a
commit 092f2bb333
10 changed files with 127 additions and 7 deletions

View File

@@ -165,4 +165,18 @@ void InOrderExecInfo::releaseNotUsedTempTimestampNodes(bool forceReturn) {
tempTimestampNodes.swap(tempVector);
}
uint64_t InOrderExecInfo::getHostNodeGpuAddress() const {
if (hostCounterNode) {
return hostCounterNode->getGpuAddress() + allocationOffset;
}
return 0;
}
uint64_t InOrderExecInfo::getDeviceNodeGpuAddress() const {
if (deviceCounterNode) {
return deviceCounterNode->getGpuAddress() + allocationOffset;
}
return 0;
}
} // namespace NEO

View File

@@ -63,6 +63,23 @@ class InOrderExecInfo : public NEO::NonCopyableClass {
uint64_t getBaseDeviceAddress() const { return deviceAddress; }
uint64_t getBaseHostGpuAddress() const;
uint64_t getDeviceNodeGpuAddress() const;
uint64_t getHostNodeGpuAddress() const;
size_t getDeviceNodeWriteSize() const {
if (deviceCounterNode) {
const size_t deviceAllocationWriteSize = sizeof(uint64_t) * numDevicePartitionsToWait;
return deviceAllocationWriteSize;
}
return 0;
}
size_t getHostNodeWriteSize() const {
if (hostCounterNode) {
const size_t hostAllocationWriteSize = sizeof(uint64_t) * numHostPartitionsToWait;
return hostAllocationWriteSize;
}
return 0;
}
uint64_t getCounterValue() const { return counterValue; }
void addCounterValue(uint64_t addValue) { counterValue += addValue; }
void resetCounterValue() { counterValue = 0; }