Delete Device::getBuiltIns()

Change-Id: I9d1968dfb2ba4a56020fd17152119add726106e1
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
This commit is contained in:
Maciej Dziuban
2018-08-22 13:57:21 +02:00
committed by sys_ocldev
parent 7504536d5d
commit b91c14f70e
65 changed files with 148 additions and 154 deletions

View File

@@ -76,8 +76,8 @@ cl_int CommandQueueHw<GfxFamily>::enqueueWriteBufferRect(
return CL_SUCCESS;
}
auto &builder = getDevice().getBuiltIns().getBuiltinDispatchInfoBuilder(EBuiltInOps::CopyBufferRect,
this->getContext(), this->getDevice());
auto &builder = getDevice().getExecutionEnvironment()->getBuiltIns()->getBuiltinDispatchInfoBuilder(EBuiltInOps::CopyBufferRect,
this->getContext(), this->getDevice());
BuiltInOwnershipWrapper builtInLock(builder, this->context);
size_t hostPtrSize = Buffer::calculateHostPtrSize(hostOrigin, region, hostRowPitch, hostSlicePitch);