mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 14:02:58 +08:00
Revert "fix: correct loading L0 loader functions"
This reverts commit 9c7b3c5e19.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
e11ceb4a20
commit
f117b5fb68
@@ -114,7 +114,7 @@ ze_result_t MetricEnumeration::loadMetricsDiscovery() {
|
||||
getMetricsDiscoveryFilename(libnames);
|
||||
|
||||
for (auto &name : libnames) {
|
||||
hMetricsDiscovery.reset(NEO::OsLibrary::loadFunc({name}));
|
||||
hMetricsDiscovery.reset(NEO::OsLibrary::loadFunc(name));
|
||||
|
||||
// Load exported functions.
|
||||
if (hMetricsDiscovery) {
|
||||
|
||||
@@ -179,7 +179,7 @@ void MetricsLibrary::release() {
|
||||
|
||||
bool MetricsLibrary::load() {
|
||||
// Load library.
|
||||
handle = NEO::OsLibrary::loadFunc({getFilename()});
|
||||
handle = NEO::OsLibrary::loadFunc(getFilename());
|
||||
|
||||
// Load exported functions.
|
||||
if (handle) {
|
||||
|
||||
Reference in New Issue
Block a user