mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
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:

committed by
Compute-Runtime-Automation

parent
2fd8540174
commit
d46ed9a217
@ -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);
|
||||
|
Reference in New Issue
Block a user