Fix bitwise operation of timestamp for sysman memory module

Related-To: LOCI-3147

Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
This commit is contained in:
Mayank Raghuwanshi
2022-05-24 16:38:36 +05:30
committed by Compute-Runtime-Automation
parent 2fd8540174
commit d46ed9a217

View File

@ -232,8 +232,8 @@ ze_result_t LinuxMemoryImp::getHbmBandwidth(uint32_t numHbmModules, zes_mem_band
if (result != ZE_RESULT_SUCCESS) {
return result;
}
pBandwidth->timestamp |= timeStampH;
pBandwidth->timestamp = (pBandwidth->timestamp << 32) | timeStampL;
pBandwidth->timestamp = timeStampH;
pBandwidth->timestamp = (pBandwidth->timestamp << 32) | static_cast<uint64_t>(timeStampL);
uint64_t hbmFrequency = 0;
getHbmFrequency(productFamily, stepping, hbmFrequency);