mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Correct calculating of CL_DEVICE_GLOBAL_MEM_CACHE_SIZE value
Related-To: NEO-6991, NEO-6993 Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
637767500d
commit
57eb195571
@@ -287,7 +287,7 @@ void ClDevice::initializeCaps() {
|
||||
//copy system info to prevent misaligned reads
|
||||
const auto systemInfo = hwInfo.gtSystemInfo;
|
||||
|
||||
deviceInfo.globalMemCacheSize = systemInfo.L3BankCount * 128 * KB;
|
||||
deviceInfo.globalMemCacheSize = systemInfo.L3CacheSizeInKb * KB;
|
||||
deviceInfo.grfSize = hwInfo.capabilityTable.grfSize;
|
||||
|
||||
deviceInfo.globalMemCacheType = CL_READ_WRITE_CACHE;
|
||||
|
||||
Reference in New Issue
Block a user