Changes

Jump to: navigation, search

GPU610/TeamKappa

1,506 bytes added, 23:32, 14 October 2015
Program 1: RSA Encryption
=== Assignment 1 ===
=== Assignment 1 ===
== Program 1: RSA Encryption ==
At first glance, the fastest function is also the function that appears like it would be the easiest to run on a GPU. The other code does not look like it can be optimized with a GPU easily as it does not use large arrays of N size. However, after some short internet research, several documents turned up on the topic of using a GPU to make RSA faster (example: [http://research.ijcaonline.org/volume87/number6/pxc3893704.pdf here] and [http://ijssst.info/Vol-15/No-3/data/3857a529.pdf here]). This leaves me hopeful that in the further stages of this assignment that this could be an interesting program to work with.
 
==Ryan Mullings: Program 2-Image Manipulation Processor ==
I decided to profile an Image manipulation program since it had many different functions that I could play around with. Also depending on the number of files you enter as arguments the processor will display different options
Source Code:[http://www.dreamincode.net/forums/topic/76816-image-processing-tutorial/ link to dream in code]
 
'''Sample Run'''
 
[[Image:SampleRun.png|File ]]
 
'''Code for some of the manipulations'''
 
[[Image:ReflectImage.png|File]]
 
 
'''Profiles'''
* Profile for shrinking image by 2
 
% cumulative self total
time seconds calls s/call s/call name
40.22 5.75 2 0.00 0.00 Image(Image const&)
27.53 3.32 1 0.00 0.00 readImage(char*, Image&)
13.23 2.21 1 0.00 2.48 shrinkImage(int, Image&)
12.67 2.11 1 0.00 0.00 Image(int, int, int)
6.32 2.48 1 0.00 0.00 writeImage(char*, Image&)
 
* Profile for Expanding image by 3 and Rotating by 20 degrees
 
% cumulative self total
time seconds calls s/call s/call name
64.28 11.23 1 0.00 0.00 rotateImage(Image const&)
16.89 4.51 1 0.00 0.00 enlargeImage(char*, Image&)
13.23 2.21 1 0.00 0.00 writeImage(int, Image&)
 
Essentially, all of the functions are the main hotspots from the test runs.
=== Assignment 2 ===
=== Assignment 3 ===

Navigation menu