Skip to content

A large set of excercises in nVidia CUDA programming language featuring thrust, C++ templates and various custom stuff.

Notifications You must be signed in to change notification settings

kwencel/cuda-exercises

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CUDA exercises

A large set of exercises in nVidia CUDA programming language.

These examples present various ways you can enhance your experience with CUDA programming, including:

  • Custom GPU memory wrappers (see src/CudaUtils.h)
  • Custom profiling and error handling utilities (see src/CudaUtils.h)
  • Usage of nVidia's thrust library
  • Usage of C++ templates
  • Support for CUDA syntax in CLion (CLion already understands CUDA syntax on its own)

The last exercise Projekt1 is the biggest one and uses the abovementioned techniques to the fullest.

The exercises' contents and guidelines are located in the tasks folder. They are described only in Polish unfortunately.

Build prerequisites

CMake 3.8
CUDA Toolkit 5.0
GCC/MSVC compilers compatibile with installed version of CUDA Toolkit

Build instructions

git clone https://github.com/kwencel/cuda-exercises
cd cuda-exercises
cmake .
make

About

A large set of excercises in nVidia CUDA programming language featuring thrust, C++ templates and various custom stuff.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published