mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
Avoid unnecessary allocation in enqueueHandler
Related-To: NEO-6837 kernelObjsForAuxTranslation will allocate only if needed Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
616dd55789
commit
76289be8c1
@@ -332,7 +332,7 @@ class Kernel : public ReferenceTrackedObject<Kernel> {
|
||||
return usingImagesOnly;
|
||||
}
|
||||
|
||||
void fillWithKernelObjsForAuxTranslation(KernelObjsForAuxTranslation &kernelObjsForAuxTranslation);
|
||||
std::unique_ptr<KernelObjsForAuxTranslation> fillWithKernelObjsForAuxTranslation();
|
||||
|
||||
MOCKABLE_VIRTUAL bool requiresCacheFlushCommand(const CommandQueue &commandQueue) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user