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
Tá an tiomantas seo le fáil i:
Laurent Morichetti tiomanta 2022-09-26 09:31:14 -07:00
1 tuismitheoir bb98bc7d85
tiomantas a287f20961
1 comhad athraithe
+1 -1
+1 -1
Féach ar an gComhad
@@ -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);
}