Skip to content

Commit 2c3e810

Browse files
committed
Fix some naming mismatch of amath/armpl introduced in AdaptiveCpp#1949
1 parent 4fb09b2 commit 2c3e810

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

include/hipSYCL/compiler/llvm-to-backend/Utils.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ std::string getLLDPath();
378378
std::string getOptPath();
379379
std::string getLibSvmlDir();
380380
std::string getLibSleefDir();
381-
std::string getLibArmplDir();
381+
std::string getLibAmathDir();
382382
std::string getLibMvecDir();
383383
std::string getBitcodePath();
384384
std::string getRedistPackageBitcodePath(const std::string& backend);

src/compiler/llvm-to-backend/host/LLVMToHost.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ bool LLVMToHostTranslator::translateToBackendFormat(llvm::Module &FlavoredModule
375375
break;
376376

377377
case host_vector_math_library::armpl:
378-
#ifdef ARMPL_AVAILABLE
378+
#ifdef AMATH_AVAILABLE
379379
amathDir = getLibAmathDir();
380380
if (!amathDir.empty()) {
381381
LldInvocation.push_back("-L");

0 commit comments

Comments
 (0)