mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Add support for retrieving maxbandwidth for different PVC stepings
Related-To: LOCI-3416 Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
0d5f3351df
commit
1e14086405
@ -151,7 +151,7 @@ void LinuxMemoryImp::getHbmFrequency(PRODUCT_FAMILY productFamily, unsigned shor
|
||||
// For IGFX_XE_HP HBM frequency would be 2.8 GT/s = 2.8 * 1000 * 1000 * 1000 T/s = 2800000000 T/s
|
||||
hbmFrequency = 2.8 * gigaUnitTransferToUnitTransfer;
|
||||
} else if (productFamily == IGFX_PVC) {
|
||||
if (stepping == REVISION_B) {
|
||||
if (stepping >= REVISION_B) {
|
||||
const std::string baseDir = "gt/gt" + std::to_string(subdeviceId) + "/";
|
||||
// Calculating bandwidth based on HBM max frequency
|
||||
const std::string hbmRP0FreqFile = baseDir + "mem_RP0_freq_mhz";
|
||||
|
Reference in New Issue
Block a user