Skip to content

santiago-imelio/pmpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PMPP

This repository contains notes and code snippets from the book Programming Massively Parallel Processors (2nd Edition) by Kirk & Hwu.

Running CUDA Programs

Google Colab

The easiest way to run the CUDA C programs in this repo is with Google Colab, in case you don't have access to an NVIDIA GPU.

First configure the runtime to use GPU, go to Runtime > Change runtime type. Then select T4 GPU. You can check that CUDA compiler, NVCC, is installed by running a cell with this code:

!nvcc --version

Clone the repository

!git clone https://github.com/santiago-imelio/pmpp.git

To run the code files just import them into the notebook files, then compile and run.

!nvcc -arch=sm_75 pmpp/chapter3/vecAdd.cu -o vecAdd && ./vecAdd

About

Notes from Programming Massively Parallel Processors 2nd Edition, by Kirk and Hwu.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages