Skip to content

Commit

Permalink
Adding the files path for adsp_lib
Browse files Browse the repository at this point in the history
  • Loading branch information
mohitmundhragithub committed Oct 24, 2024
1 parent fad36c1 commit 2ab4511
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mobile_back_qti/cpp/backend_qti/qti_c.cc
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ bool mlperf_backend_matches_hardware(const char **not_allowed_message,
const char *native_lib_path = device_info->native_lib_path;
std::stringstream adsp_lib_path;
adsp_lib_path << native_lib_path << ";";
adsp_lib_path << "/system/lib/rfsa/adsp;/system/vendor/lib/rfsa/adsp;/dsp";
adsp_lib_path << "/sdcard/Android/data/org.mlcommons.android.mlperfbench/files/libs;/system/lib/rfsa/adsp;/system/vendor/lib/rfsa/adsp;/dsp";
LOG(INFO) << "adsp_lib_path: " << adsp_lib_path.str();
setenv("ADSP_LIBRARY_PATH", adsp_lib_path.str().c_str(), 1 /*override*/);
std::stringstream ld_lib_path;
Expand Down Expand Up @@ -121,7 +121,7 @@ mlperf_backend_ptr_t mlperf_backend_create(
#ifdef __ANDROID__
std::stringstream adsp_lib_path;
adsp_lib_path << native_lib_path << ";";
adsp_lib_path << "/system/lib/rfsa/adsp;/system/vendor/lib/rfsa/adsp;/dsp";
adsp_lib_path << "/sdcard/Android/data/org.mlcommons.android.mlperfbench/files/libs;/system/lib/rfsa/adsp;/system/vendor/lib/rfsa/adsp;/dsp";
LOG(INFO) << "lib_path: " << adsp_lib_path.str();
setenv("ADSP_LIBRARY_PATH", adsp_lib_path.str().c_str(), 1 /*override*/);
#endif
Expand Down

0 comments on commit 2ab4511

Please sign in to comment.