Skip to content

himanshu5-prog/microGPU

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

microGPU

Documentation Build and Deploy Doxygen Docs Compile Check GitHub issues License: MIT

microGPU is a small C++ project that implements a functional model of a GPU to explore and understand GPU architecture. The repository defines classes for threads and warps and builds up to compute units and a scheduler.

Current functionality: microGPU accepts warps into a global collection and schedules them onto compute units, which execute warps in a round-robin fashion. Tests verify that warps are created, assigned, and progressed through pipeline stages; logs record pipeline stage changes with timestamps to validate behavior.

I have added logic to handle simple case of divergence as well.

Compiling the code

  1. Compile in debug mode

    make

  2. Compile in release mode

    make BUILD=release

  3. Sanitizer mode on s make SAN=1

Documentation

Built API docs (Doxygen): Documentation

Block diagram

microGPU Architecture

About

Simple functional model of GPU

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors