Last active
August 9, 2019 20:19
-
-
Save pentschev/c046ed15a2f838bb9397e21cf18221cb to your computer and use it in GitHub Desktop.
Blog Post - Parallelizing Custom CuPy Kernels with Dask - CuPy Simple Addition
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
import cupy | |
x = cupy.arange(4096 * 1024, dtype=cupy.float32).reshape((4096, 1024)) | |
y = cupy.arange(1024, dtype=cupy.float32) | |
res_cupy = x + y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment