Open
Description
Is your feature request related to a problem? Please describe
The L0 V2 adapter should be enabled by default on newer platforms. To implement this, we need to determine platform compatibility during the adapter load phase.
Platform identification in L0 adapter case requires:
- Loading the L0 driver
- Executing the function sequence:
zeInit()->zeDriverGet()->zeDeviceGetProperties()
Describe the solution you would like
The most straightforward approach is to:
- Temporarily load the driver
- Query the necessary platform information
- Unload based on the results
UR loader can access the necessary function through ur_loader::LibLoader::getFunctionPtr()
and execute the retrieved function to validate platform compatibility.
Describe alternatives you have considered
No response
Additional context
No response