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
Please register or sign in to comment