compute-runtime/shared/source/pin
Mateusz Jablonski 4154e6666b fix: correct loading L0 loader functions
- don't load ze_loader.dll from file system
- to perform self-open on Windows use getModuleHandleA with proper module name
- don't free library loaded with getModuleHandleA
- as loader may be not available during runtime teardown:
- load translate handle function during global setup
- load setDriverTeardown function during global teardown
- when loader is not available during teardown, unset translate handle
function

Related-To: GSD-10147

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-17 15:39:20 +02:00
..
linux refactor: Unify GTPin initialization logic between APIs 2023-08-09 17:15:24 +02:00
windows refactor: Unify GTPin initialization logic between APIs 2023-08-09 17:15:24 +02:00
CMakeLists.txt refactor: Unify GTPin initialization logic between APIs 2023-08-09 17:15:24 +02:00
pin.cpp fix: correct loading L0 loader functions 2024-10-17 15:39:20 +02:00
pin.h refactor: don't call OsLibrary::load directly, use function pointer 2024-08-20 08:59:26 +02:00