Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/alpha74/cuda_basics

Nvidia NVCC CUDA programs for begineers.
https://github.com/alpha74/cuda_basics

c cpp cuda cuda-programs nvcc nvidia parallel-computing parallel-programming

Last synced: 16 days ago
JSON representation

Nvidia NVCC CUDA programs for begineers.

Awesome Lists containing this project

README

        

## CUDA Basics

Introductory CUDA programs.

### Used and Recommended Resources(In succession):
* CUDA By Example - Jason Sanders, Edward Kandrot
* Programming Massively Parallel Processors - David B. Kirk, Wen Hwu
* Parallel Programming Lectures - Carnegie Mellon University
* [NVIDIA CUDA Documentation](https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#introduction)

### Requirements(Programmed in):
* Visual Studio Code-Community 2017
* NVIDIA CUDA Toolkit
* CUDA compatible GPU

-------

### Contents

Code is done on individual topics and its explanation is added.

- [Hello World](https://github.com/alpha74/CUDA_basics/blob/master/1_hello_world/README.md)
- [Add Two Numbers](https://github.com/alpha74/CUDA_basics/blob/master/2_add_two_numbers/README.md)
- [Get CUDA Device Properties](https://github.com/alpha74/CUDA_basics/blob/master/3_get_CUDA_props/README.md)
- [Allocating and Using Class Objects in CUDA Device](https://github.com/alpha74/CUDA_basics/blob/master/4_passing_Class_objects/README.md)
- [Extract odd and even elements in an array into Separate arrays](https://github.com/alpha74/CUDA_basics/blob/master/5_extract_odd_even/README.md)
- [Allocating and Accessing Host machine memory in CUDA device](https://github.com/alpha74/CUDA_basics/blob/master/6_using_host_memory_in_device/README.md)
- [Function Call and Its Specifiers](https://github.com/alpha74/CUDA_basics/blob/master/7_function_call_inside_kernel/README.md)
- [Class Member Function Call using Specifiers](https://github.com/alpha74/CUDA_basics/blob/master/8_using_member_func_of_class_in_device/README.md)
- [Working on Threads](https://github.com/alpha74/CUDA_basics/blob/master/9_steps_of_thread_execution/README.md)