An open API service indexing awesome lists of open source software.

https://github.com/almirneeto99/leetgpu-challenges

This repository contains the solution for LeetGPU Challenges
https://github.com/almirneeto99/leetgpu-challenges

cpp cuda gpu hpc

Last synced: about 13 hours ago
JSON representation

This repository contains the solution for LeetGPU Challenges

Awesome Lists containing this project

README

          

# LeetGPU

This repository contains the solutions for the **LeetGPU challenges**.
The main objective is learning GPU / HPC programming using available languages and frameworks.

For now the following languages will be used:

- CUDA
- SYCL

---

## Development

For comparing the performance between serial and parallel versions, each execution time will be measured - only the time to execute the kernel - and added here.

---

## Problems

There are 34 challenges in LeetGPU divided into three difficulties:

- Easy
- Medium
- Hard

Each solution we be added here after each attempt.

---

### Easy

- [x] Vector Addition
- Serial: 843 ms
- CUDA: 6.74512 ms
- SYCL: 44.2114 ms
- [ ] Matrix Multiplication
- Serial: TO BE DONE
- CUDA: TO BE DONE
- SYCL: TO BE DONE
- [ ] Matrix Transpose
- Serial: TO BE DONE
- CUDA: TO BE DONE
- SYCL: TO BE DONE
- [ ] ReLU
- Serial: 326 ms
- CUDA: TO BE DONE
- SYCL: 24.1397 ms
- [ ] Leaky ReLU
- Serial: 1001 ms
- CUDA: TO BE DONE
- SYCL: 38.04 ms

### Medium

TODO

### Hard

TODO

---

## Profile

You can check my LeetGPU profile [here](https://leetgpu.com/profile?display_name=EffervescentPioneer838).

---

## Templates

Into `templates` folder there are templates for basic cumbersome code.