SWDEV-229840 - Improve error messages on ROCCLR Layer.

Change-Id: Iab7d9156cdc206db86385aa05023a0095ed40f92


[ROCm/clr commit: 7458bf9964]
This commit is contained in:
kjayapra-amd
2020-04-13 22:41:44 -04:00
کامیت شده توسط Karthik Jayaprakash
والد 365054f997
کامیت 236705c62f
16فایلهای تغییر یافته به همراه128 افزوده شده و 26 حذف شده
+2
مشاهده پرونده
@@ -590,6 +590,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");
return nullptr;
}
@@ -604,6 +605,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");
return nullptr;
}