-
Notifications
You must be signed in to change notification settings - Fork 116
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
[ur] Create printing C API #930
Conversation
7c411d3
to
ce43934
Compare
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.
don't call this serialization
in the commit message.
Done |
Done |
ee7ffb2
to
890f4a6
Compare
Moved the implementation to the loader. |
890f4a6
to
f78c440
Compare
96ea011
to
66611fb
Compare
66611fb
to
bf425a3
Compare
This patch touches a lot of different high-traffic files. Let's hold off on merging it until the branches are reconciled. |
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.
LGTM
bf425a3
to
99f78cb
Compare
99f78cb
to
380a5a8
Compare
Codecov ReportAttention:
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #930 +/- ##
==========================================
- Coverage 15.80% 15.53% -0.27%
==========================================
Files 223 226 +3
Lines 31481 32727 +1246
Branches 3558 3563 +5
==========================================
+ Hits 4975 5085 +110
- Misses 26455 27591 +1136
Partials 51 51 ☔ View full report in Codecov by Sentry. |
source/loader/ur_print.cpp
Outdated
|
||
ur_result_t urPrintFunction(enum ur_function_t value, char *buffer, | ||
const size_t buff_size, size_t *out_size) { | ||
if (!buffer) { |
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.
you need to allow buffer to be null, otherwise there's no way to get out_size
without preallocating something.
380a5a8
to
6df3e55
Compare
Good point, I removed this failure. |
4a9c972
to
19bbe49
Compare
19bbe49
to
b2591db
Compare
b2591db
to
8066327
Compare
Add an /include header for printing Unified Runtime objects with a C API.
8066327
to
cc1e0da
Compare
Rebased |
Fixes issue #828 by providing a C API for printing Unified Runtime objects.
Proposed C++ API is in PR #875 (merged).