mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Require cpu access for constant surface
Related-To: NEO-3234 Change-Id: Ie0ccd3d3fc144400e63123d6c27b228bb7207f33 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
e373b8deac
commit
145f5b20e9
@@ -170,10 +170,11 @@ class GraphicsAllocation : public IDNode<GraphicsAllocation> {
|
||||
virtual uint64_t peekInternalHandle(MemoryManager *memoryManager) { return 0llu; }
|
||||
|
||||
static bool isCpuAccessRequired(AllocationType allocationType) {
|
||||
return allocationType == AllocationType::LINEAR_STREAM ||
|
||||
return allocationType == AllocationType::COMMAND_BUFFER ||
|
||||
allocationType == AllocationType::CONSTANT_SURFACE ||
|
||||
allocationType == AllocationType::INTERNAL_HEAP ||
|
||||
allocationType == AllocationType::TIMESTAMP_PACKET_TAG_BUFFER ||
|
||||
allocationType == AllocationType::COMMAND_BUFFER;
|
||||
allocationType == AllocationType::LINEAR_STREAM ||
|
||||
allocationType == AllocationType::TIMESTAMP_PACKET_TAG_BUFFER;
|
||||
}
|
||||
void *getReservedAddressPtr() const {
|
||||
return this->reservedAddressRangeInfo.addressPtr;
|
||||
|
||||
Reference in New Issue
Block a user