feature: Add heapless mode programming in ocl

Related-To: NEO-7621
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
Kamil Kopryk
2023-11-23 13:58:58 +00:00
committed by Compute-Runtime-Automation
parent c35b13ccae
commit ce7298d512
82 changed files with 1927 additions and 1224 deletions

View File

@@ -384,6 +384,8 @@ class CommandQueue : public BaseObject<_cl_command_queue> {
void handlePostCompletionOperations(bool checkQueueCompletion);
bool getHeaplessModeEnabled() const { return this->heaplessModeEnabled; }
protected:
void *enqueueReadMemObjForMap(TransferProperties &transferProperties, EventsRequest &eventsRequest, cl_int &errcodeRet);
cl_int enqueueWriteMemObjForUnmap(MemObj *memObj, void *mappedPtr, EventsRequest &eventsRequest);
@@ -477,6 +479,7 @@ class CommandQueue : public BaseObject<_cl_command_queue> {
bool dcFlushRequiredOnStallingCommandsOnNextFlush = false;
bool splitBarrierRequired = false;
bool gpgpuCsrClientRegistered = false;
bool heaplessModeEnabled = false;
};
template <typename PtrType>