Skip to content

Instantly share code, notes, and snippets.

@rabernat
Created December 7, 2020 16:01
Show Gist options
  • Save rabernat/429238a9db40fb3dbfc74b84f64a4b36 to your computer and use it in GitHub Desktop.
Save rabernat/429238a9db40fb3dbfc74b84f64a4b36 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@neerajabhamidipati
Copy link

To convert h_smooth_gpu back to a numpy array, do h_smooth_gpu.data.map_blocks(cp.asnumpy).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment