Skip to content

devolay/pmpp-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PMPP Playground (C & CUDA)

A repository for experimenting while reading Programming Massively Parallel Processors book.

Structure

pmpp-playground/
├── CMakeLists.txt           # Top-level build
├── common/                  # Reusable library (C + header-only CUDA helpers)
└── chapters/                # Chapter-specific code

Build

Requirements:

  • CMake >= 3.22
  • CUDA toolkit installed (for CUDA kernels)
  • A C compiler (gcc/clang/MSVC)
cd pmpp-playground
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build -j

Notes

  • common/timer.h offers a simple wall-clock timer in C.
  • common/cuda_check.h provides CUDA_CHECK for ergonomic CUDA error handling.
  • common/cuda_utils.cuh has small, header-only CUDA helpers (grid dims, etc.).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published