← 返回首页
async NDProcessor by kushalkolar · Pull Request #1026 · fastplotlib/fastplotlib · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

async NDProcessor#1026

Merged
kushalkolar merged 12 commits into
ndwidgetfrom
async-ndp
Apr 9, 2026
Merged

async NDProcessor#1026
kushalkolar merged 12 commits into
ndwidgetfrom
async-ndp

Conversation

Copy link
Copy Markdown
Member

First time I'm doing async stuff, this is an adventure.

kushalkolar requested a review from clewis7 as a code owner April 8, 2026 06:46
kushalkolar changed the title async NDProcessor established, NOT TESTED async NDProcessor Apr 8, 2026

Copy link
Copy Markdown
Member Author

I just realized a few lines of code and GPU arrays can be fully async too, with the transfers to CPU only at the end for all of them :D

cupy, torch and jax all implement __cuda_array_interface__

Check if __cuda_array_interface__ is implemented, and if so treat that similar to a future. To resolve it just convert to cupy and send to CPU!

kushalkolar merged commit b918626 into ndwidget Apr 9, 2026
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Footer

© 2026 GitHub, Inc.