CUDA: matrix addition & matrix multiplication
$10-30 USD
Pagado a la entrega
1- CUDA: matrix addition
Implement matrix addition in CUDA C = A+B where the matrices are NxN and N is large. This is an extension of the program in the "CUDA by Example" book, which adds two long vectors of length N. Also refer to the [url removed, login to view] program, which uses 2-dimensional arrays.
In your main program assign (float) values to the elements of A and B: a[i][j] = 2*i + j + 1 and b[i][j] = i + 4*j + 2.
Call your kernel. Then check if all elements of C are correct; if they are correct, print "We did it!".
Also execute the matrix addition sequentially, and time this (nested loop) with gettimeofday(). Compare the time to the execution time of the kernel plus the cudaMemcpy calls (do not include the malloc or the cudaMalloc times), and calculate the speedup. Do this for 10 (large to very large) values of N.
Submit a typescript showing: a listing (with "cat") of your source code, your compilation, and executions with output. Discuss your findings in your report.
2- Implement matrix multiplication.
Nº del proyecto: #6072888
Sobre el proyecto
8 freelancers están ofertando un promedio de $41 por este trabajo
Hello, i have two years of parallel programming experience. Although i don't have much experience in CUDA programming i'm very confident that i can do this. Regads.
I was the top of my class in computer science and math. I'm well versed in all types of math and computer languages. I'm currently studying CUDA and its applications.
Hello Sir, I'm a senior DotNet Developer with more than 5 years experience. I have large skills against OpenGL,Cuda and OpenCL I look forward to help you with this mini task. Thank for your consideration
Dear Employer, I am post graduate in Computer Science and Engineering from India. I did my thesis in the area of parallel computing with CUDA. My work got indexed in Springer Lecture Notes and IEEE digital library b Más