mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
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:
committed by
Compute-Runtime-Automation
parent
95b9880385
commit
7a3095c273
@@ -28,9 +28,10 @@ class MetricQueryPoolTest : public MetricContextFixture,
|
||||
public ::testing::Test {
|
||||
public:
|
||||
void SetUp() override {
|
||||
ze_result_t returnValue = ZE_RESULT_SUCCESS;
|
||||
MetricContextFixture::SetUp();
|
||||
auto executionEnvironment = new NEO::ExecutionEnvironment();
|
||||
driverHandle.reset(DriverHandle::create(NEO::DeviceFactory::createDevices(*executionEnvironment), L0EnvVariables{}));
|
||||
driverHandle.reset(DriverHandle::create(NEO::DeviceFactory::createDevices(*executionEnvironment), L0EnvVariables{}, &returnValue));
|
||||
}
|
||||
|
||||
void TearDown() override {
|
||||
|
||||
@@ -29,9 +29,10 @@ class MetricQueryPoolTest : public MetricContextFixture,
|
||||
public ::testing::Test {
|
||||
public:
|
||||
void SetUp() override {
|
||||
ze_result_t returnValue = ZE_RESULT_SUCCESS;
|
||||
MetricContextFixture::SetUp();
|
||||
auto executionEnvironment = new NEO::ExecutionEnvironment();
|
||||
driverHandle.reset(DriverHandle::create(NEO::DeviceFactory::createDevices(*executionEnvironment), L0EnvVariables{}));
|
||||
driverHandle.reset(DriverHandle::create(NEO::DeviceFactory::createDevices(*executionEnvironment), L0EnvVariables{}, &returnValue));
|
||||
}
|
||||
|
||||
void TearDown() override {
|
||||
|
||||
Reference in New Issue
Block a user