SWDEV-286150 - Add detailed thread trace support in RGP

- Create hash values for binaries
- Add the binaries into RGP trace
- Add corresponding hash value for every dispatch

Change-Id: I2c3ce004d69f37d0d46bc4744e12f24273517f5e


[ROCm/clr commit: 2a298f2ec3]
Этот коммит содержится в:
German Andryeyev
2021-11-03 16:24:04 -04:00
родитель 63bbdb2ab5
Коммит 0b03dde692
5 изменённых файлов: 110 добавлений и 26 удалений
+6
Просмотреть файл
@@ -802,6 +802,12 @@ bool LightningProgram::setKernels(void* binary, size_t binSize,
return true;
}
// Collect the information about compiled binary
if (palDevice().rgpCaptureMgr() != nullptr) {
apiHash_ = palDevice().rgpCaptureMgr()->AddElfBinary(binary, binSize, binary, binSize,
codeSegGpu_->iMem(), codeSegGpu_->offset());
}
for (auto& kit : kernels()) {
LightningKernel* kernel = static_cast<LightningKernel*>(kit.second);
if (!kernel->postLoad()) {