CUDA: matrix addition & matrix multiplication

Completado Publicado Jun 15, 2014 Pagado a la entrega
Completado 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.

Programación en C CUDA Parallels Automation

Nº del proyecto: #6072888

Sobre el proyecto

8 propuestas Proyecto remoto Activo Jun 16, 2014

Adjudicado a:

prad08

Hello I am an experienced CUDA programmer and I have already implemented Matrix Multiplication using CUDA. so i have the code available for Matrix Multiplication. So i can complete this project in one day. let me know Más

$35 USD en 3 días
(14 comentarios)
4.5

8 freelancers están ofertando un promedio de $41 por este trabajo

vehre

Honored client, hereby I apply to your job "CUDA: matrix addition & matrix multiplication". I am a C/C++ professional with specialisation in high-performance computing. I have some knowledge in MPI, OpenMP, OpenCL a Más

$111 USD en 3 días
(1 comentario)
4.0
frcaton

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.

$35 USD en 3 días
(2 comentarios)
2.9
cipher0xpher0x

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.

$20 USD en 2 días
(3 comentarios)
2.2
mtorjmen

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

$45 USD en 1 día
(1 comentario)
0.8
pbhavinj26

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

$20 USD en 1 día
(0 comentarios)
0.0
dhvani333

Hi I am embedded software engineer having 3.5+ years of experience. I have developed AES-256 encryption algorithm in CUDA language on nVIDIA Graphics card GTX460 which include Matrix addition and multiplication operat Más

$35 USD en 3 días
(0 comentarios)
0.0
katakdound

A proposal has not yet been provided

$25 USD en 1 día
(0 comentarios)
0.0