Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change sub-device discovery mechanism in pool_descriptor::create()
Currently, only the UR L0 adapter supports urDevicePartition function and it does not support partition type UR_DEVICE_PARTITION_EQUALLY. After this change, pool_descriptor::create() returns pool descriptors for main devices when sub-devices are unavailable instead of returning error. Also, the device partition type used for retrieving sub-devices was changed to UR_DEVICE_PARTITION_BY_CSLICE.
- Loading branch information