fix: don't use staging for map allocations

Related-To: NEO-13572

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
Szymon Morek
2025-01-07 10:54:20 +00:00
committed by Compute-Runtime-Automation
parent 8d4721d613
commit 2815d4167d
7 changed files with 39 additions and 21 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018-2024 Intel Corporation
* Copyright (C) 2018-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -405,7 +405,7 @@ class CommandQueue : public BaseObject<_cl_command_queue> {
size_t inputRowPitch, size_t inputSlicePitch, const void *ptr, cl_event *event);
bool isValidForStagingBufferCopy(Device &device, void *dstPtr, const void *srcPtr, size_t size, bool hasDependencies);
bool isValidForStagingTransferImage(Image *image, const void *ptr, bool hasDependencies);
bool isValidForStagingTransfer(MemObj *memObj, const void *ptr, bool hasDependencies);
protected:
void *enqueueReadMemObjForMap(TransferProperties &transferProperties, EventsRequest &eventsRequest, cl_int &errcodeRet);