SWDEV-559267 - Use CLPrint to DevLogPrintf with Log Level - detail debug. (#1160)
This commit is contained in:
committed by
GitHub
orang tua
93682f2f75
melakukan
740a06d567
@@ -579,7 +579,7 @@ hsa_ext_amd_aql_pm4_packet_t* PerfCounterProfile::createStartPacket() {
|
||||
|
||||
// set up the profile aql packets for capturing performance counter
|
||||
if (api_.hsa_ven_amd_aqlprofile_start(&profile_, &prePacket_) != HSA_STATUS_SUCCESS) {
|
||||
DevLogError("Cannot Start AQL Profile \n");
|
||||
ClPrint(amd::LOG_DETAIL_DEBUG, amd::LOG_AQL, "Cannot Start AQL Profile \n");
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
@@ -593,7 +593,7 @@ hsa_ext_amd_aql_pm4_packet_t* PerfCounterProfile::createStopPacket() {
|
||||
// set up the profile aql packets for post-capturing performance counter
|
||||
// and create the completion signal
|
||||
if (api_.hsa_ven_amd_aqlprofile_stop(&profile_, &postPacket_) != HSA_STATUS_SUCCESS) {
|
||||
DevLogError("Cannot Stop AQL Profile \n");
|
||||
ClPrint(amd::LOG_DETAIL_DEBUG, amd::LOG_AQL, "Cannot Stop AQL Profile \n");
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user