ggml-backend: Ensure data is available after async computation
We need to sync before retrieving data after async computation. It is also important to ensure that the Go buffer is not moved by the GC across function calls so we do a synchronous copy.
Showing
Please register or sign in to comment