Skip to content
Commit b1f9f046 authored by jcarrano-eiwa's avatar jcarrano-eiwa Committed by GitHub
Browse files

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.
parent 3128eb27
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment