mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Add capability to query internal handle from cl_mem.
Related-To: NEO-3252 Change-Id: I935c308dfa3f77c6d965df7316fe3fb4c21b112a Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
f6bf2c5d0b
commit
14b8bbb3aa
@@ -166,6 +166,7 @@ class GraphicsAllocation : public IDNode<GraphicsAllocation> {
|
||||
bool isResidencyTaskCountBelow(uint32_t taskCount, uint32_t contextId) const { return !isResident(contextId) || getResidencyTaskCount(contextId) < taskCount; }
|
||||
|
||||
virtual std::string getAllocationInfoString() const;
|
||||
virtual uint64_t peekInternalHandle() { return 0llu; }
|
||||
|
||||
static bool isCpuAccessRequired(AllocationType allocationType) {
|
||||
return allocationType == AllocationType::LINEAR_STREAM ||
|
||||
|
||||
Reference in New Issue
Block a user