An overview on GPU computing with Google Colab

Step by step, let's see how to install the different Python-based modules that we have learned about so far on Google Colab. We will explore with CUDA and PyCUDA in particular. Please refer to Chapter 6, Working with CUDA and PyCUDA, for easy access to the commands and code. This time, we are going to revisit them, but on the GPU cloud!

Here are the steps for installation:

  1. Assuming you already have a Google account, visit https://colab.research.google.com on your browser (Firefox or Chrome). The following interface will appear:

As marked in red, select NEW PYTHON 3 NOTEBOOK.

  1. Now, you have ...

Get Hands-On GPU Computing with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.