Fix a typo in HipLoader

rocprof errors out with the following message:
symbol lookup 'KernelNameRef' failed: libamdhip64.so.5: undefined \
  symbol: KernelNameRef

The HipLoader is incorrectly looking for a KernelNameRef symbol
instead of hipKernelNameRef.

Fixed the typo: KernelNameRef -> hipKernelNameRef.

Change-Id: Ia4860e1669707b0c83d67e71b78d362b07a6aaa7


[ROCm/roctracer commit: a287f20961]
This commit is contained in:
Laurent Morichetti
2022-09-26 09:27:07 -07:00
rodzic f262501ed3
commit e8dc8de195
@@ -142,7 +142,7 @@ class HipLoader : public BaseLoader<HipLoader> {
}
const char* KernelNameRef(const hipFunction_t f) const {
static auto function = GetFun<const char* (*)(const hipFunction_t f)>("KernelNameRef");
static auto function = GetFun<const char* (*)(const hipFunction_t f)>("hipKernelNameRef");
return function(f);
}