Report failure given Compiler Library Load failed for L0

- Return ZE_RESULT_ERROR_DEPENDENCY_UNAVAILABLE given the Compiler
  cannot be loaded.
- Print dlopen and LoadLibrary error strings given Debug Print Messages
  are enabled.

Related-To: LOCI-1313

Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
This commit is contained in:
Spruit, Neil R
2021-03-11 17:01:51 -08:00
committed by Compute-Runtime-Automation
parent 95b9880385
commit 7a3095c273
37 changed files with 297 additions and 49 deletions

View File

@@ -18,7 +18,7 @@ class OsLibrary : public NEO::OsLibrary {
void *handle;
public:
OsLibrary(const std::string &name);
OsLibrary(const std::string &name, std::string *errorValue);
~OsLibrary() override;
bool isLoaded() override;