Skip to content

leiteg/cuda-examples

Repository files navigation

CUDA Examples

Some examples of CUDA applications ready for compiling and running.

  • Stencil with naïve and optimized kernel.
  • SAXPY kernel.
  • Coalescing examples with misaligned and strided kernels.

Compiling

Make sure you have a recent version o CMake (3.10+) installed. Then run:

$ mkdir build && cd build
$ cmake -DCMAKE_BUILD_TYPE=Release
$ make -j

Author

Created by Gustavo Leite in October 2020.

About

Short CUDA applications used for teaching.

Resources

Stars

Watchers

Forks