CUDA: matrix addition & matrix multiplication

Cerrado Publicado Dec 8, 2015 Pagado a la entrega
Cerrado 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 [login to view URL] 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: #9072725

Sobre el proyecto

9 propuestas Proyecto remoto Activo Jan 14, 2016

9 freelancers están ofertando un promedio de $42 por este trabajo

krikitos

Hi I have PhD in computational physics. My area of expertise is HPC programming and more precisely CUDA programming. I believe that I can write a clear and well document code you. Chat me to discuss in more details Más

$111 USD en 5 días
(7 comentarios)
4.4
franjav

La propuesta todavía no ha sido proveída

$35 USD en 3 días
(6 comentarios)
3.9
tulebaev

A proposal has not yet been provided

$30 USD en 1 día
(22 comentarios)
3.9
joriq

A proposal has not yet been provided

$30 USD en 2 días
(0 comentarios)
0.0
mythri93

I have worked on CUDA before.I have also implemented addition as well as multiplication. I will complete the work on time.

$15 USD en 2 días
(0 comentarios)
0.0
websofthero

A proposal has not yet been provided

$30 USD en 0 días
(0 comentarios)
0.0
beRedDevil

Have worked in this sort of project earlier many time. SO i can assure the output as per requested before two days.

$66 USD en 2 días
(0 comentarios)
0.0