Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix error when decoding a NULL string
If some device info is NULL then this line would cause a RuntimeError: cannot use string() on <cdata 'char *' NULL>. For example, in my PC, the Intel CPU runtime under Linux has BUILT_IN_KERNELS = NULL.
- Loading branch information