mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 09:03:14 +08:00
Remove duplicated fields from ClDeviceInfo
Related-To: NEO-3938 Change-Id: Ic13d69eaf2ba54794f82d78b058c960f27a6c29d Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
196409f24c
commit
3b149b69a7
@@ -134,8 +134,9 @@ WorkSizeInfo::WorkSizeInfo(const DispatchInfo &dispatchInfo) {
|
||||
this->simdSize = (uint32_t)dispatchInfo.getKernel()->getKernelInfo().getMaxSimdSize();
|
||||
this->slmTotalSize = (uint32_t)dispatchInfo.getKernel()->slmTotalSize;
|
||||
this->coreFamily = dispatchInfo.getKernel()->getDevice().getHardwareInfo().platform.eRenderCoreFamily;
|
||||
this->numThreadsPerSubSlice = (uint32_t)dispatchInfo.getKernel()->getDevice().getDeviceInfo().maxNumEUsPerSubSlice * dispatchInfo.getKernel()->getDevice().getDeviceInfo().numThreadsPerEU;
|
||||
this->localMemSize = (uint32_t)dispatchInfo.getKernel()->getDevice().getDeviceInfo().localMemSize;
|
||||
this->numThreadsPerSubSlice = (uint32_t)dispatchInfo.getKernel()->getDevice().getSharedDeviceInfo().maxNumEUsPerSubSlice *
|
||||
dispatchInfo.getKernel()->getDevice().getSharedDeviceInfo().numThreadsPerEU;
|
||||
this->localMemSize = (uint32_t)dispatchInfo.getKernel()->getDevice().getSharedDeviceInfo().localMemSize;
|
||||
setIfUseImg(dispatchInfo.getKernel());
|
||||
setMinWorkGroupSize();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user