clang compilation fix

Change-Id: I4fb4625407faade8ee72c9fe7d0176991e772dde


[ROCm/rocprofiler commit: 2dacdd041d]
This commit is contained in:
Evgeny
2020-03-13 18:38:28 -05:00
rodzic c22f2a46dd
commit 3cfc00ea1d
@@ -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)) {