-
Notifications
You must be signed in to change notification settings - Fork 920
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] string conversion for duration types (to_durations, from_durations) #5625
[REVIEW] string conversion for duration types (to_durations, from_durations) #5625
Conversation
Please update the changelog in order to start CI tests. View the gpuCI docs here. |
Codecov Report
@@ Coverage Diff @@
## branch-0.15 #5625 +/- ##
===============================================
+ Coverage 86.12% 86.14% +0.01%
===============================================
Files 76 75 -1
Lines 12757 12715 -42
===============================================
- Hits 10987 10953 -34
+ Misses 1770 1762 -8
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job on this. I liked these improvements over what's in the current convert_integers code.
} | ||
bool is_negative = (value < 0); | ||
|
||
char digits[MAX_DIGITS] = {'0', '0', '0', '0', '0', '0', '0', '0', '0', '0'}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this becomes a problem, profile it and see if putting it in shared memory (10 bytes per thread, not actually shared) helps performance. Might need to pad it out to avoid shmem bank conflicts.
@codereport @jrhemstad requesting for re-review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
for unblocking PR #5781 (also already addressed all review comments)
addresses part of #5272
duration string support to_string API