Remove KernelDeviceInfo struct

Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2021-03-22 11:06:23 +00:00
committed by Compute-Runtime-Automation
parent 723d8a4b72
commit 35d2325361
61 changed files with 693 additions and 680 deletions

View File

@@ -173,7 +173,7 @@ class VmeBuiltinDispatchInfoBuilder : public BuiltinDispatchInfoBuilder {
DEBUG_BREAK_IF(kernelArgInfo.kernelArgPatchInfoVector.size() != 1);
const KernelArgPatchInfo &patchInfo = kernelArgInfo.kernelArgPatchInfoVector[0];
DEBUG_BREAK_IF(sizeof(RetType) > patchInfo.size);
return *(RetType *)(vmeKernel->getCrossThreadData(clDevice.getRootDeviceIndex()) + patchInfo.crossthreadOffset);
return *(RetType *)(vmeKernel->getCrossThreadData() + patchInfo.crossthreadOffset);
}
cl_int validateImages(Vec3<size_t> inputRegion, Vec3<size_t> offset) const {