SWDEV-77148 - Add UberTrace support to PAL device
This PR adds UberTrace-based tracing support to ROCclr's PAL device class. Legacy RGP-based tracing is still available and is the default. If UberTrace support is enabled tool-side, this new code path will activate. Change-Id: I268b2dcef70e850a50e2caef8355f38bf51d4641
Cette révision appartient à :
@@ -804,8 +804,8 @@ bool LightningProgram::setKernels(void* binary, size_t binSize, amd::Os::FileDes
|
||||
size_t foffset, std::string uri) {
|
||||
#if defined(USE_COMGR_LIBRARY)
|
||||
// Collect the information about compiled binary, except the trap handler
|
||||
if (!isNull() && (palDevice().rgpCaptureMgr() != nullptr) && !isTrapHandler()) {
|
||||
apiHash_ = palDevice().rgpCaptureMgr()->AddElfBinary(
|
||||
if (!isNull() && (palDevice().captureMgr() != nullptr) && !isTrapHandler()) {
|
||||
apiHash_ = palDevice().captureMgr()->AddElfBinary(
|
||||
binary, binSize, binary, binSize, codeSegGpu_->iMem(), codeSegGpu_->offset());
|
||||
}
|
||||
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur