Skip to content

leoforney/cuda_notebooks

Repository files navigation

cuda-notebook

An expiremental notebook to log my progress as I learn cuda.

To run, build with cmake by running

mkdir build && cd build

then

cmake ..

After that use your preferred build system configured through cmake. Ex: make

Then run the main starter program by using ./cuda-notebooks <program name>

Currently, there are the following programs made:

vector-operations - vo

Simple vector operations by creating random vector float arrays and doing addition/subtraction/dot product

Flags:

  • --numElements or --n specify an amount of elements per vector to generate

image-processing - ip

Image processing, currently converts image to grayscale

Flags:

  • --file or --f specify a different input file other than image.jpg
  • --output or --of specify a different output file location other than image_grayscale.jpg

list-sort - ls

Float list sorter. Generates random numbers and sorts them based on the bitonic sorting algorithm. This is not restricted to only 2^n elements. Any number of elements can be passed into it. Additionally, there exists a java class that binds to LibListSort.cu. Allowing floats to be sorted utilizing CUDA in Java.

Flags:

  • --numElements or --n specify an amount of elements to generate

audio-visualizer - av

Audio visualizer does a fourier transform using cuFFT and displays the selected track using qt5. Additionally, thrust was used to simplify data movement between GPU and host.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages