Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[v1.19.x] hmem/synapseai: Refine the error handling and warning
Currently, synapseai_init return FI_ENODATA when there is no synapseai device on the platform. This will cause warnings are printed on any non-synapseai platform. This patch improves this by making synapseai_init return ENOSYS when all the API calls succeeded but zero devices are detected. Signed-off-by: Shi Jin <[email protected]> (cherry picked from commit f66e3f7)
- Loading branch information