Skip to content

Commit

Permalink
Add support for retrieving maxbandwidth for different PVC stepings
Browse files Browse the repository at this point in the history
Related-To: LOCI-3416

Signed-off-by: Mayank Raghuwanshi <[email protected]>
  • Loading branch information
mraghuwa authored and Compute-Runtime-Automation committed Sep 16, 2022
1 parent 0d5f335 commit 1e14086
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 1e14086

Please sign in to comment.