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
Este commit está contenido en:
@@ -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()) {
|
||||
|
||||
Referencia en una nueva incidencia
Block a user