Home
last modified time | relevance | path

Searched refs:driverPath (Results 1 – 1 of 1) sorted by relevance

/packages/modules/NeuralNetworks/driver/sample_shim/
DShellServiceSample.cpp64 int registerDevices(const std::string& driverPath, const std::vector<Names>& devices) { in registerDevices() argument
66 void* libHandle = dlopen(driverPath.c_str(), RTLD_LAZY | RTLD_LOCAL | RTLD_NODELETE); in registerDevices()
68 LOG(ERROR) << "Failed to load sample SL driver: " << driverPath; in registerDevices()
78 LOG(ERROR) << "Failed to find ANeuralNetworks_getSLDriverImpl symbol in: " << driverPath; in registerDevices()
86 LOG(ERROR) << "ANeuralNetworks_getSLDriverImpl returned nullptr: " << driverPath; in registerDevices()
126 const std::string driverPath = "/vendor/lib64/neuralnetworks_sample_sl_driver_prebuilt.so"; in main() local
132 return registerDevices(driverPath, devicesToRegister); in main()