Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hmem/synapseai: Refine the error handling and warning
Currently, synapseai_init return FI_ENODATA when there is 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]>
- Loading branch information