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
このコミットが含まれているのは:
Laurent Morichetti
2022-09-26 09:27:07 -07:00
コミット a287f20961
+1 -1
ファイルの表示
@@ -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);
}