Thread Cooperation Nowadays, I try to learn CUDA. I follow some books for that. In this post, I use CUDA BY EXAMPLE An introduction to General-Purpose GPU Programming book which is written by Jason Sanders and Edward Kandrot. In this section, I try to learn Thread cooperation topic. First I will try to recode big…
Tag: GPU
Parallel Programming in CUDA C | Learn CUDA
Parallel Programming in CUDA C Nowadays, I try to learn CUDA. I follow some books for that. In this post, I use CUDA BY EXAMPLE An introduction to General-Purpose GPU Programming book which is written by Jason Sanders and Edward Kandrot. In this section, I try to learn parallel programming in CUDA C. First I…
BGR to RGB with CUDA | CUDA and OpenCV
CUDA and OpenCV BGR to RGB When I learning CUDA, I always work with random generated arrays and matrices. Today, I want to try real-life problems. In this example, I try to convert BGR to RGB. BGR is OpenCV color format. But some application and libraries use RGB such as OpenGL. I will read simple…
Device Info Query with CUDA | Xavier
Device Info Query In this post, I show how can query to device information with Cuda. In this post, I will use the NVDIA Jetson Xavier Device. However, the below code can run any compatible device with CUDA. Xavier Specification is:
CUDA Programming Model | Learn CUDA
This post series is the Solutions of the Professional CUDA C Programming written by John Cheng, Max Grossman and Ty McKercher Chapter 2: CUDA Programming Model In this section, we will learn to Writing a CUDA Program Executing kernel functions Organizing the Cuda threads with grids and blocks Measuring the GPU performance A typical processing…
Heterogeneous Parallel Computing with CUDA | Learn CUDA
This post series is the Solutions of the Professional CUDA C Programming written by John Cheng, Max Grossman and Ty McKercher Chapter 1: Heterogeneous Parallel Computing with CUDA I solve the examples of Chapter 1. You can find solutions at bellow.