Fix unused function warnings for conditionally used functions
Change-Id: Ied23c571b949abef1816914986f19b14aca3d2f3
Tento commit je obsažen v:
odevzdal
Matthew Arsenault
rodič
7124974148
revize
c56a82fd05
@@ -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;
|
||||
|
||||
Odkázat v novém úkolu
Zablokovat Uživatele