Fix unused function warnings for conditionally used functions

Change-Id: Ied23c571b949abef1816914986f19b14aca3d2f3


[ROCm/clr commit: c56a82fd05]
Tá an tiomantas seo le fáil i:
Matt Arsenault údaraithe agus Matthew Arsenault tiomanta 2020-07-06 10:28:43 -04:00
1 tuismitheoir a2b54e7b4a
tiomantas 8892ba072f
4 comhad athraithe
+30 -16

Níor tháinig aon chomhaid le do chuardach

+2
Féach ar an gComhad
@@ -41,6 +41,7 @@
namespace roc {
#if defined(WITH_COMPILER_LIB)
static hsa_status_t GetKernelNamesCallback(hsa_executable_t exec, hsa_agent_t agent,
hsa_executable_symbol_t symbol, void* data) {
std::vector<std::string>* symNameList = reinterpret_cast<std::vector<std::string>*>(data);
@@ -62,6 +63,7 @@ static hsa_status_t GetKernelNamesCallback(hsa_executable_t exec, hsa_agent_t ag
return HSA_STATUS_SUCCESS;
}
#endif
static inline const char* hsa_strerror(hsa_status_t status) {
const char* str = nullptr;