feature: Initial CB events IPC support

Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski
2024-10-15 16:32:10 +00:00
committed by Compute-Runtime-Automation
parent 0a568f368d
commit 52e9a6e07f
14 changed files with 413 additions and 12 deletions

View File

@@ -13,6 +13,7 @@ namespace NEO {
class MemoryAllocation : public GraphicsAllocation {
public:
const unsigned long long id;
uint64_t internalHandle = 0;
size_t sizeToFree = 0;
const bool uncacheable;
@@ -44,6 +45,15 @@ class MemoryAllocation : public GraphicsAllocation {
info.taskCount = objectNotUsed;
}
}
int peekInternalHandle(MemoryManager *memoryManager, uint64_t &handle) override {
if (internalHandle == std::numeric_limits<uint64_t>::max()) {
return -1;
}
handle = internalHandle;
return 0;
}
};
} // namespace NEO