@@ -86,7 +86,7 @@ void CommandQueueHw<GfxFamily>::enqueueHandler(Surface *(&surfaces)[surfaceCount
8686 } else {
8787 BuffersForAuxTranslation buffersForAuxTranslation;
8888 if (kernel->isAuxTranslationRequired ()) {
89- auto &builder = getDevice ().getBuiltIns (). getBuiltinDispatchInfoBuilder (EBuiltInOps::AuxTranslation, getContext (), getDevice ());
89+ auto &builder = getDevice ().getExecutionEnvironment ()-> getBuiltIns ()-> getBuiltinDispatchInfoBuilder (EBuiltInOps::AuxTranslation, getContext (), getDevice ());
9090 builtInLock.takeOwnership (builder, this ->context );
9191 kernel->fillWithBuffersForAuxTranslation (buffersForAuxTranslation);
9292 dispatchAuxTranslation (multiDispatchInfo, buffersForAuxTranslation, AuxTranslationDirection::AuxToNonAux);
@@ -122,7 +122,7 @@ void CommandQueueHw<GfxFamily>::enqueueHandler(Surface *(&surfaces)[surfaceCount
122122
123123template <typename GfxFamily>
124124void CommandQueueHw<GfxFamily>::forceDispatchScheduler(OCLRT::MultiDispatchInfo &multiDispatchInfo) {
125- BuiltIns &builtIns = getDevice ().getBuiltIns ();
125+ BuiltIns &builtIns = * getDevice ().getExecutionEnvironment ()-> getBuiltIns ();
126126 SchedulerKernel &scheduler = builtIns.getSchedulerKernel (this ->getContext ());
127127 DispatchInfo dispatchInfo (&scheduler, 1 , Vec3<size_t >(scheduler.getGws (), 1 , 1 ), Vec3<size_t >(scheduler.getLws (), 1 , 1 ), Vec3<size_t >(0 , 0 , 0 ));
128128
@@ -299,7 +299,7 @@ void CommandQueueHw<GfxFamily>::enqueueHandler(Surface **surfacesForResidency,
299299 taskCount,
300300 hwTimeStamps);
301301
302- BuiltIns &builtIns = getDevice ().getBuiltIns ();
302+ BuiltIns &builtIns = * getDevice ().getExecutionEnvironment ()-> getBuiltIns ();
303303 SchedulerKernel &scheduler = builtIns.getSchedulerKernel (this ->getContext ());
304304
305305 scheduler.setArgs (devQueueHw->getQueueBuffer (),
0 commit comments