Fix unused function warnings for conditionally used functions

Change-Id: Ied23c571b949abef1816914986f19b14aca3d2f3


[ROCm/clr commit: c56a82fd05]
This commit is contained in:
Matt Arsenault authored and Matthew Arsenault committed 2020-07-06 10:28:43 -04:00
1 parent a2b54e7b4a
commit 8892ba072f
4 files changed
+30 -16

No files matched your search

@@ -727,9 +727,12 @@ bool Program::compileImplLC(const std::string& sourceCode,
// ================================================================================================
#if defined(WITH_COMPILER_LIB)
static void logFunction(const char* msg, size_t size) {
std::cout << "Compiler Log: " << msg << std::endl;
}
#endif
// ================================================================================================
bool Program::compileImplHSAIL(const std::string& sourceCode,