From d43323b5ea35f959eb7fbd1150f8d71e0d3c3368 Mon Sep 17 00:00:00 2001 From: Laurent Morichetti Date: Wed, 7 Sep 2022 20:53:05 -0700 Subject: [PATCH] SWDEV-351980 - Remove the ROCtracer private interface from the public header Change-Id: I51d45cca5051f04d3c1b59ca2a9cf1db5fd1ebd4 [ROCm/clr commit: 0b1ea7e075c1586c6c995903936eb6eb206e5b11] --- projects/clr/hipamd/src/hip_intercept.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/projects/clr/hipamd/src/hip_intercept.cpp b/projects/clr/hipamd/src/hip_intercept.cpp index d5a2af10ae..e4e7e76912 100644 --- a/projects/clr/hipamd/src/hip_intercept.cpp +++ b/projects/clr/hipamd/src/hip_intercept.cpp @@ -42,6 +42,7 @@ const char* hipKernelNameRef(const hipFunction_t function) { } const char* hipKernelNameRefByPtr(const void* host_function, hipStream_t stream) { + [](auto&&...) {}(stream); return (host_function != nullptr) ? PlatformState::instance().getStatFuncName(host_function) : nullptr; } @@ -54,12 +55,4 @@ void hipRegisterTracerCallback(const void* function) { const char* hipApiName(uint32_t id) { return hip_api_name(id); } -// Deprecated functions that need to be removed from hip_runtime_api.h -hipError_t hipRegisterApiCallback(uint32_t id, void* fun, void* arg) { return hipErrorUnknown; } -hipError_t hipRemoveApiCallback(uint32_t id) { return hipErrorUnknown; } -hipError_t hipRegisterActivityCallback(uint32_t id, void* fun, void* arg) { - return hipErrorUnknown; -} -hipError_t hipRemoveActivityCallback(uint32_t id) { return hipErrorUnknown; } - } // extern "C"