Closed AshwinKumarKulkarni closed 9 months ago
@AshwinKumarKulkarni @jandres742 @aravindksg
A confirmation regarding this PR: In flat model, If an application queries the device properties from L0 core, it might show as root device. But if we take the UUID of the same device and query the device and its properties from L0 Sysman, it "could" show as sub-device.
Isn't this a contradiction and Please share how could application decide whether the device is a sub-device or a root device?
@bellekal
@AshwinKumarKulkarni @jandres742 @aravindksg
A confirmation regarding this PR: In flat model, If an application queries the device properties from L0 core, it might show as root device. But if we take the UUID of the same device and query the device and its properties from L0 Sysman, it "could" show as sub-device.
Isn't this a contradiction and Please share how could application decide whether the device is a sub-device or a root device?
@bellekal
it is not a contradiction so much, it is just that Core and SYSMAN are reprenseting the system differently. Core could use any model it needs for better performance, while SYSMAN keeps a uniform view of the system.
Another point to be considered - We may also need zeDeviceGetByUUID along with zesDeviceGetByUUID to map sysman device handle with core device handle.
@AshwinKumarKulkarni we are currently looking to absorb this spec effort for v1.9, could you please look into the changes and see if we need to fix/address any concerns raised above?
@sanilkumar0 for review as well
This PR addresses https://github.com/oneapi-src/level-zero-spec/issues/243