SWDEV-179105 - Stream Operations: Add support for Wait and Write
Change-Id: Ibffa1d6d573826b64763da280074a77271d66808
[ROCm/clr commit: 0a5f9a3b10]
This commit is contained in:
@@ -2414,8 +2414,10 @@ 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.
|
||||
ClPrint(amd::LOG_NONE, amd::LOG_ALWAYS, "Device::callbackQueue aborting with status: 0x%x",
|
||||
status);
|
||||
const char* errorMsg = 0;
|
||||
hsa_status_string(status, &errorMsg);
|
||||
ClPrint(amd::LOG_NONE, amd::LOG_ALWAYS,
|
||||
"Device::callbackQueue aborting with error : %s code: 0x%x", errorMsg, status);
|
||||
abort();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user