You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bugfix: do not use non-blocking copy for gpu to cpu transfer (#564)
If we use async GPU to CPU copy in `plan` functions, we synchronize
before we use the cpu array.
Since we have removed synchronization in plan functions, the GPU to CPU
copy should be synchronized.
For flashinfer v0.2, it's encouraged to pass cpu indptr arrays to `plan`
functions, and the synchronized GPU to CPU copy will be a no-op in this
case.
0 commit comments