carpentries-incubator / lesson-gpu-programming

GPU Programming with Python and CUDA.
https://carpentries-incubator.github.io/lesson-gpu-programming/
Other
20 stars 12 forks source link

Extend episode 2 with cpu/gpu agnostic code #18

Closed HannoSpreeuw closed 3 years ago

HannoSpreeuw commented 3 years ago

Episode 2 should now be complete with the addition of Numpy routines that operate on CuPy arrays. Without any extra effort, they are executed on the GPU.

The idea is that one can speed up calculations with very little hassle.