mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 09:03:14 +08:00
refactor: correct naming of unified memory enums
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
2eba5b35e4
commit
27fbdde4c5
@@ -53,7 +53,7 @@ cl_int CommandQueueHw<GfxFamily>::enqueueWriteBufferRect(
|
||||
|
||||
const size_t hostPtrSize = Buffer::calculateHostPtrSize(hostOrigin, region, hostRowPitch, hostSlicePitch);
|
||||
const uint32_t rootDeviceIndex = getDevice().getRootDeviceIndex();
|
||||
InternalMemoryType memoryType = InternalMemoryType::NOT_SPECIFIED;
|
||||
InternalMemoryType memoryType = InternalMemoryType::notSpecified;
|
||||
GraphicsAllocation *mapAllocation = nullptr;
|
||||
bool isCpuCopyAllowed = false;
|
||||
getContext().tryGetExistingHostPtrAllocation(ptr, hostPtrSize, rootDeviceIndex, mapAllocation, memoryType, isCpuCopyAllowed);
|
||||
|
||||
Reference in New Issue
Block a user