March 2026
Intermediate
534 pages
12h 51m
English
The previous chapters focused on interacting with the GPU using low-level CUDA primitives: kernels, threads, grids, blocks, streams, and more. This chapter and those that follow build on these low-level foundations to move up a level of abstraction. This chapter introduces CuPy, a library that implements a plethora of routines for manipulating N-dimensional arrays on the GPU. For readers familiar with NumPy and SciPy, CuPy brings the functionality of both these libraries to the GPU, with a near-identical API.
The learning outcomes for this chapter are as follows:
Read now
Unlock full access