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

[REVIEW] [FEA] error macros: determining buffer size instead of fixed 2048 chars #420

Merged
merged 4 commits into from
Jan 12, 2022

Conversation

MatthiasKohl
Copy link
Contributor

Determining buffer size for error macros instead of using fixed size of 2048 bytes.
I ran all tests (which use these macros extensively) as well as tested without CUDA driver to see that output looks as expected.

Closes #419.

@MatthiasKohl MatthiasKohl requested review from a team as code owners December 13, 2021 16:29
@github-actions github-actions bot added the cpp label Dec 13, 2021
@MatthiasKohl MatthiasKohl added feature request New feature or request non-breaking Non-breaking change labels Dec 13, 2021
Copy link
Member

@cjnolet cjnolet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look great. It would also be great if we could find a way to test this through our automated gtests.

I ran all tests (which use these macros extensively) as well as tested without CUDA driver to see that output looks as expected.

Was this tested in cuml as well?

@MatthiasKohl
Copy link
Contributor Author

That's a good point and no, unfortunately I didn't test with cuml. I can do that after vacation. Should I still add specific tests for these changes as well?

@cjnolet
Copy link
Member

cjnolet commented Dec 21, 2021

@MatthiasKohl,

A couple very trivial gtest cases would be great. The goal is to get to a point where we can modify RAFT without having to test whether all the clients break.

@MatthiasKohl
Copy link
Contributor Author

@cjnolet I did add specific tests for this, checking that the error messages are as expected.

@cjnolet
Copy link
Member

cjnolet commented Jan 12, 2022

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 605458e into rapidsai:branch-22.02 Jan 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cpp feature request New feature or request non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEA] Handling error messages with more than 2048 characters
3 participants