Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error when decoding a NULL string #138

Merged
merged 1 commit into from Sep 7, 2016
Merged

Conversation

jcarrano-robot
Copy link
Contributor

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.

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.
@inducer inducer merged commit 6ce6073 into inducer:master Sep 7, 2016
@inducer
Copy link
Owner

inducer commented Sep 7, 2016

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants