SWDEV-240566 adds error message before abort
Change-Id: I4dbd089daa5e6fde5e8722dc2395225dd822561c
[ROCm/clr commit: 7a3b8c6dd2]
This commit is contained in:
committed by
Satyanvesh Dittakavi
parent
b2e264b2c1
commit
b7801b2035
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user