mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-28 00:03:14 +08:00
fix: add deferred l3 flush tag in kernels
Related-To: NEO-13163 Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
6e875f18ab
commit
2a3bd7cd03
@@ -435,6 +435,18 @@ class CommandQueue : public BaseObject<_cl_command_queue> {
|
||||
|
||||
bool waitOnDestructionNeeded() const;
|
||||
|
||||
bool getL3FlushDeferredIfNeeded() const {
|
||||
return l3FlushDeferredIfNeeded;
|
||||
}
|
||||
|
||||
void setL3FlushDeferredIfNeeded(bool newValue) {
|
||||
l3FlushDeferredIfNeeded = newValue;
|
||||
}
|
||||
|
||||
void setCheckIfDeferredL3FlushIsNeeded(bool newValue) {
|
||||
checkIfDeferredL3FlushIsNeeded = newValue;
|
||||
}
|
||||
|
||||
protected:
|
||||
void *enqueueReadMemObjForMap(TransferProperties &transferProperties, EventsRequest &eventsRequest, cl_int &errcodeRet);
|
||||
cl_int enqueueWriteMemObjForUnmap(MemObj *memObj, void *mappedPtr, EventsRequest &eventsRequest);
|
||||
@@ -550,6 +562,8 @@ class CommandQueue : public BaseObject<_cl_command_queue> {
|
||||
bool l3FlushAfterPostSyncEnabled = false;
|
||||
bool isWalkerWithProfilingEnqueued = false;
|
||||
bool shouldRegisterEnqueuedWalkerWithProfiling = false;
|
||||
bool l3FlushDeferredIfNeeded = false;
|
||||
bool checkIfDeferredL3FlushIsNeeded = false;
|
||||
};
|
||||
|
||||
static_assert(NEO::NonCopyableAndNonMovable<CommandQueue>);
|
||||
|
||||
Reference in New Issue
Block a user