GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Infatoshi/cuda-course

BranchesTags
Open more actions menu

Latest commit

 

History

60 Commits
60 Commits

Folders and files

NameName
Last commit message
Last commit date
.vscode
.vscode
 
 
01_Deep_Learning_Ecosystem
01_Deep_Learning_Ecosystem
 
 
02_Setup
02_Setup
 
 
03_C_and_C++_Review
03_C_and_C++_Review
 
 
04_Gentle_Intro_to_GPUs
04_Gentle_Intro_to_GPUs
 
 
05_Writing_your_First_Kernels
05_Writing_your_First_Kernels
 
 
06_CUDA_APIs
06_CUDA_APIs
 
 
07_Faster_Matmul
07_Faster_Matmul
 
 
08_Triton
08_Triton
 
 
09_PyTorch_Extensions
09_PyTorch_Extensions
 
 
10_Final_Project
10_Final_Project
 
 
11_Extras
11_Extras
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 

Repository files navigation

CUDA Course

GitHub Repo for CUDA Course on FreeCodeCamp

Note: This course is designed for Ubuntu Linux. Windows users can use Windows Subsystem for Linux or Docker containers to simulate the ubuntu Linux environment.

Table of Contents

  1. The Deep Learning Ecosystem
  2. Setup/Installation
  3. C/C++ Review
  4. Gentle Intro to GPUs
  5. Writing Your First Kernels
  6. CUDA APIs (cuBLAS, cuDNN, etc)
  7. Optimizing Matrix Multiplication
  8. Triton
  9. PyTorch Extensions (CUDA)
  10. Final Project
  11. Extras

Course Philosophy

This course aims to:

  • Lower the barrier to entry for HPC jobs
  • Provide a foundation for understanding projects like Karpathy's llm.c
  • Consolidate scattered CUDA programming resources into a comprehensive, organized course

Overview

  • Focus on GPU kernel optimization for performance improvement
  • Cover CUDA, PyTorch, and Triton
  • Emphasis on technical details of writing faster kernels
  • Tailored for NVIDIA GPUs
  • Culminates in a simple MLP MNIST project in CUDA

Prerequisites

  • Python programming (required)
  • Basic differentiation and vector calculus for backprop (recommended)
  • Linear algebra fundamentals (recommended)

Key Takeaways

  • Optimizing existing implementations
  • Building CUDA kernels for cutting-edge research
  • Understanding GPU performance bottlenecks, especially memory bandwidth

Hardware Requirements

  • Any NVIDIA GTX, RTX, or datacenter level GPU
  • Cloud GPU options available for those without local hardware

Use Cases for CUDA/GPU Programming

  • Deep Learning (primary focus of this course)
  • Graphics and Ray-tracing
  • Fluid Simulation
  • Video Editing
  • Crypto Mining
  • 3D modeling
  • Anything that requires parallel processing with large arrays

Resources

  • GitHub repo (this repository)
  • Stack Overflow
  • NVIDIA Developer Forums
  • NVIDIA and PyTorch documentation
  • LLMs for navigating the space
  • Cheatsheet here

Other Learning Material

  • https://github.com/CoffeeBeforeArch/cuda_programming
  • https://www.youtube.com/@GPUMODE
  • https://discord.com/invite/gpumode

Fun YouTube Videos:

  • How do GPUs works? Exploring GPU Architecture
  • But how do GPUs actually work?
  • Getting Started With CUDA for Python Programmers
  • Transformers Explained From The Atom Up
  • How CUDA Programming Works - Stephen Jones, CUDA Architect, NVIDIA
  • Parallel Computing with Nvidia CUDA - NeuralNine
  • CPU vs GPU vs TPU vs DPU vs QPU
  • Nvidia CUDA in 100 Seconds
  • How AI Discovered a Faster Matrix Multiplication Algorithm
  • The fastest matrix multiplication algorithm
  • From Scratch: Cache Tiled Matrix Multiplication in CUDA
  • From Scratch: Matrix Multiplication in CUDA
  • Intro to GPU Programming
  • CUDA Programming
  • Intro to CUDA (part 1): High Level Concepts
  • Intro to GPU Hardware

Find me

  • Twitter/X
  • LinkedIn
  • YouTube
  • Discord

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

4.2k stars

Watchers

48 watching

Forks

717 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.