Difference between revisions of "Hu3Team"

From CDOT Wiki
Jump to: navigation, search
(Created page with '= Project Name Goes here = == Team Members == # [mailto:bdigiuseppecardosode@senecacollege.ca?subject=gpu610 Bruno Di Giuseppe] # [mailto:chdeandradesilva@senecacollege.ca?subje…')
 
(Bruno's Findings)
Line 17: Line 17:
 
So this is a good candidate for parallelization because we can send each iteration of the average calculation to a different GPU thread and since this is a simple average calculation, the GPU will be able to do it.
 
So this is a good candidate for parallelization because we can send each iteration of the average calculation to a different GPU thread and since this is a simple average calculation, the GPU will be able to do it.
 
Running with a 1000x1000 matrix, with a epsilon error factor of  0.001, the program took almost 5 minutes to run completely and 99% of the time was on the getHeat() method (the heat calculation core).
 
Running with a 1000x1000 matrix, with a epsilon error factor of  0.001, the program took almost 5 minutes to run completely and 99% of the time was on the getHeat() method (the heat calculation core).
 +
 +
====Carlos's Findings====
 +
 +
The array processing is a good choice and it is used in many applications, for example game development and image processing. It can calculate the transformation of a game world scene and its objects; besides, add filters on images as we can see in mobile apps such as Instagram.
 +
 +
It is a good candidate because it operates simple and repetitive calculations that can be divide among CUDA processors.
 +
 +
====Conclusion====
 +
 +
After analyzing both solutions and their applications, we have chosen the Heat Equation because of the number of different algorithms that we can find to solve array processing problems, such as CBLAS and cuBLAS. Due to the possibility of doing something that is not often done, we will work with the Heat Equation during this semester.
  
 
=== Assignment 2 ===
 
=== Assignment 2 ===
 
=== Assignment 3 ===
 
=== Assignment 3 ===

Revision as of 19:24, 3 October 2014

Project Name Goes here

Team Members

  1. Bruno Di Giuseppe
  2. Carlos Silva

Email All

Progress

Assignment 1

Bruno's Findings

I started off with this simple heat equation

It's interesting because the calculation involves taking the average between each matrix element's neighbour(north, south, east and west) and keeps on doing it over and over again until you get a precise calculation(when the biggest difference between the new calculated element and the older is smaller than the defined Epsilon error margin). Like this you are able to get a nice heat dispersion calculation.

I was worried about data dependency, since, as I said, each element depends on each other to be calculated. But this solution uses 2 matrix, one old and one new, where the new matrix will receive the average value of the old matrix and, if the difference is still bigger than epsilon, then the old matrix recieves the values of the new matrix and the whole iteration happens again, where the new matrix is going to receive the average values of the old matrix, that now holds the most recent values.

So this is a good candidate for parallelization because we can send each iteration of the average calculation to a different GPU thread and since this is a simple average calculation, the GPU will be able to do it. Running with a 1000x1000 matrix, with a epsilon error factor of 0.001, the program took almost 5 minutes to run completely and 99% of the time was on the getHeat() method (the heat calculation core).

Carlos's Findings

The array processing is a good choice and it is used in many applications, for example game development and image processing. It can calculate the transformation of a game world scene and its objects; besides, add filters on images as we can see in mobile apps such as Instagram.

It is a good candidate because it operates simple and repetitive calculations that can be divide among CUDA processors.

Conclusion

After analyzing both solutions and their applications, we have chosen the Heat Equation because of the number of different algorithms that we can find to solve array processing problems, such as CBLAS and cuBLAS. Due to the possibility of doing something that is not often done, we will work with the Heat Equation during this semester.

Assignment 2

Assignment 3