A possiblity to change stream for efficient NUFFT? #583
chaithyagr
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It could help a lot to have an internal function to change the stream for computing, accessible on python through plans.
This can be very useful in practice to have memory efficient implementation of NUFFT with data transfers happening on different streams.
The idea would be:
Copy input1 on Stream1
Copy input2 on Stream2
Compute1 on Stream1
Copy Result1 on Stream2
Copy input3 on Stream1
Compute2 on Stream2
Copy Result2 on Stream2
Copy input4 on Stream2
Compute3 on Stream1
Copy Result3 on Stream1
All this can be done using a single plan if we can update the streams, and help hiding the performance overloads of memory copies.
Beta Was this translation helpful? Give feedback.
All reactions