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

Compilation log vector<char> contains trailing '\0' #378

Closed
eyalroz opened this issue Jun 25, 2022 · 0 comments
Closed

Compilation log vector<char> contains trailing '\0' #378

eyalroz opened this issue Jun 25, 2022 · 0 comments

Comments

@eyalroz
Copy link
Owner

eyalroz commented Jun 25, 2022

It seems nvrtcGetProgramLogSize() includes 1 for a trailing '\0' character, and so we end up placing it in our return value - which is not a C-style string. Let's not do that.

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

No branches or pull requests

1 participant