After learning how to perform addition of two numbers, the next step is to learn how to perform addition and subtraction of two Vectors. The only difference between these two programs is the memory required to store the two Vectors. Also the kernel functions to perform the task.
A Technical Blog addressing the Computer Science Issues. Focus is mainly on Tools and Technologies Techniques required to Develop different Applications by using Technologies like CUDA, Image Processing, MATLAB, OpenCV, C, C++ and Web Development.
Showing posts with label Addition of 2 numbers. Show all posts
Showing posts with label Addition of 2 numbers. Show all posts
Friday, 17 July 2015
Sunday, 12 July 2015
Addition of two numbers in CUDA: A Simple Approach
Addition is the very Basic & one of the arithmetic operation. To perform it in C language is also a very easy and simple task. In this post, we will convert the C language code into a CUDA code. The steps to remember for writing a CUDA code for any program are as follows:
Subscribe to:
Posts (Atom)