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
이 커밋은 다음에 포함됨:
1 부모
8ee065c5bd
커밋
e550032d25
9 파일이 변경됨
+518
-43
검색과 일치하는 파일 없음
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
새 이슈에서 참조
사용자 차단