mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Pass proper dispatch flags.
- add new policy to select L1 caching - this is when kernel doesn't have any stateless writes Change-Id: I3948e652797420976159bbfec2c2a154eb9e18ee Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
ea095418ad
commit
cb4e5576cb
@ -688,6 +688,8 @@ CompletionStamp CommandQueueHw<GfxFamily>::enqueueNonBlocked(
|
||||
|
||||
if (anyUncacheableArgs) {
|
||||
dispatchFlags.l3CacheSettings = L3CachingSettings::l3CacheOff;
|
||||
} else if (!kernel->areStatelessWritesUsed()) {
|
||||
dispatchFlags.l3CacheSettings = L3CachingSettings::l3AndL1On;
|
||||
}
|
||||
|
||||
if (gtpinIsGTPinInitialized()) {
|
||||
|
Reference in New Issue
Block a user