Find Jobs
Hire Freelancers

CUDA: matrix addition & matrix multiplication

$10-30 USD

Closed
Posted over 7 years ago

$10-30 USD

Paid on delivery
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.
Project ID: 12266165

About the project

9 proposals
Remote project
Active 7 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
9 freelancers are bidding on average $66 USD for this job
User Avatar
I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 6 years. My work is online game developing, and mainly focus on client side, using c++ under windows environment. I used c++ to make many great projects, for example, I made the tools which can convert java files into c++ scripts, of course garbage collection included, this job is very similar to a compiler, and is very complex. I also made our own mobile game using c++, I can show you the demo of client, if you like. I am very proficient in java also. I have a very good review on Freelancer.com, I never miss a project once I accept the job, you can check my review. Trust me, please let expert help you.
$80 USD in 3 days
4.9 (104 reviews)
6.8
6.8
User Avatar
hello, i can do it for you. i think, this need more time to cread and test. as well as i will create good report for you. please feeback fore me if you ok.
$80 USD in 5 days
4.6 (5 reviews)
2.9
2.9
User Avatar
Hi, I can do this in two days. this type of project is part of my assignment. So, some part of project is already developed with me. Thanks, Hemal
$55 USD in 2 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
jersey city, United States
0.0
0
Payment method verified
Member since Dec 3, 2016

Client Verification

Other jobs from this client

Matrix subtraction in cuda
$250-750 USD
Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.