Skip to content
Proyectos

Acerca de

Learnings and programs related to CUDA

Aprendizaje

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
0
in 7 days
0
in 15 days
Recopilando historial
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

CUDA Code Explorations

This repository showcases my journey learning and experimenting with CUDA, primarily using C/C++. Inside, you'll find code examples, insights, and optimizations related to various CUDA concepts. Each directory focuses on a specific topic, with extensively commented code to guide understanding.

What's Inside?

This repo contains:

  • Practical Examples: Hands-on CUDA code for common operations.
  • Optimizations: Explores different optimization techniques to improve performance.
  • Well-Commented Code: Every line is explained, making it easy to follow along.
  • Learning Resource: A place to learn from and improve your own CUDA skills.

Quick Navigation

  • softmax/: Explores various softmax implementations, from naive to optimized.
  • matmul/: Demonstrates matrix multiplication with tiling strategies.
  • matvec/: Iteratively optimizes matrix-vector multiplication (SGEMV) to achieve cuBLAS-like performance.
  • query-device/: A simple tool to get device information of GPU.
  • flash-attention/: Exploration of flash attention algorithms (Work in progress).

Getting Started

  1. Clone the repository:
 git clone https://github.com/Maharshi-Pandya/cudacodes.git
  1. Navigate to the directory of interest (e.g., cd matmul)
  2. Check the README.md inside the directory to learn how to compile and run the examples.

Explorar proyectos relacionados

Cargando…