Repository navigation
Python: bindings optimizations and support numpy arrays for xfer_dlist - #439
Merged
Merged
Conversation
#430) * Python: bindings optimizations and support numpy arrays for xfer_dlist Speedup for 1M descriptor lists: * get_xfer_descs with numpy input: x3.7 vs list (82ms -> 22ms) * get_xfer_descs with list input: x1.3 (82ms -> 63ms) * get_reg_descs with list input: x1.2 (146ms -> 122ms) * xferDList.pad() to regDList: x2.7 vs get_reg_descs (146ms -> 54ms) * make_prepped_xfer with list: x1 (74ms -> 74ms) * make_prepped_xfer with numpy in: x1.7 vs list (74ms -> 44ms) Signed-off-by: Yaniv Zegerson <yanivz@nvidia.com>
Contributor
Author
|
/build |
1 similar comment
Contributor
|
/build |
aranadive
reviewed
Jun 8, 2025
aranadive
reviewed
Jun 8, 2025
roiedanino
self-requested a review
June 8, 2025 11:20
roiedanino
reviewed
Jun 8, 2025
roiedanino
reviewed
Jun 8, 2025
Contributor
|
/build |
1 similar comment
Contributor
|
/build |
aranadive
approved these changes
Jun 9, 2025
Contributor
|
/ok to test bd0f5d7 |
Contributor
|
/build |
Closed
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Speedup for 1M descriptor lists:
get_xfer_descs with numpy input: x3.7 vs list (82ms -> 22ms)
get_xfer_descs with list input: x1.3 (82ms -> 63ms)
get_reg_descs with numpy input: x2.7 vs get_reg_descs (146ms -> 54ms)
get_reg_descs with list input: x1.2 (146ms -> 122ms)
make_prepped_xfer with list: x1 (74ms -> 74ms)
make_prepped_xfer with numpy in: x1.7 vs list (74ms -> 44ms)