SWDEV-240566 adds error message before abort
Change-Id: I4dbd089daa5e6fde5e8722dc2395225dd822561c
Tá an tiomantas seo le fáil i:
1 tuismitheoir
532083f87c
tiomantas
7a3b8c6dd2
2 comhad athraithe
+2
Níor tháinig aon chomhaid le do chuardach
@@ -2137,6 +2137,7 @@ bool Device::SetClockMode(const cl_set_device_clock_mode_input_amd setClockModeI
|
||||
static void callbackQueue(hsa_status_t status, hsa_queue_t* queue, void* data) {
|
||||
if (status != HSA_STATUS_SUCCESS && status != HSA_STATUS_INFO_BREAK) {
|
||||
// Abort on device exceptions.
|
||||
DevLogPrintfError("Device::callbackQueue aborting with status: %d \n", status);
|
||||
abort();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1903,6 +1903,7 @@ void VirtualGPU::submitMigrateMemObjects(amd::MigrateMemObjectsCommand& vcmd) {
|
||||
static void callbackQueue(hsa_status_t status, hsa_queue_t* queue, void* data) {
|
||||
if (status != HSA_STATUS_SUCCESS && status != HSA_STATUS_INFO_BREAK) {
|
||||
// Abort on device exceptions.
|
||||
DevLogPrintfError("VirtualGPU::callbackQueue aborting with status: %d \n", status);
|
||||
abort();
|
||||
}
|
||||
}
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir