clang compilation fix

Change-Id: I4fb4625407faade8ee72c9fe7d0176991e772dde
This commit is contained in:
Evgeny
2020-03-13 18:38:28 -05:00
rodzic ffa0a51408
commit 2dacdd041d
+1 -1
Wyświetl plik
@@ -190,7 +190,7 @@ class InterceptQueue {
// Calling dispatch callback
rocprofiler_group_t group = {};
hsa_status_t status = dispatch_callback_(&data, callback_data_, &group);
hsa_status_t status = (dispatch_callback_.load())(&data, callback_data_, &group);
free(const_cast<char*>(kernel_name));
// Injecting profiling start/stop packets
if ((status != HSA_STATUS_SUCCESS) || (group.context == NULL)) {