Create a table and a graph showing sse

Assignment Help Other Subject
Reference no: EM131496089

Vectorized Array Multiplication and Reduction using SSE

Introduction

There are many problems in scientific and engineering computing where you want to multiply arrays of numbers (matrix manipulation, Fourier transformation, convolution, etc.).

This project is in two parts. The first part is to test array multiplication, SIMD and non-SIMD. The second part is to test array multiplication and reduction, SIMD and non-SIMD.

Use the gcc or g++ compilers for both parts, but... Because simd.p5.cpp uses assembly language, this code is not portable. I know for sure it works on flip, using gcc/g++ 4.8.5. You are welcome to try it other places, but there are no guarantees. It doesn't work on rabbit. Do not use "-O3".

Requirements

1. Use the supplied SIMD SSE code to run an array multiplication timing experiment. Run the same experiment a second time using your own C/C++ array multiplication code.

2. Use the supplied SIMD SSE code to run an array multiplication + reduction timing experiment. Run the same experiment a second time using your own C/C++ array multiplication + reduction code.

3. Use different array sizes from 1K to 32M. The choice of in-between values is up to you, but pick something that will make for a good graph.

4. Feel free to run each array-size test a certain number of trials if you want. Use the peak value for the performance you record. Check peak versus average performance to be sure you are getting consistent answers. Try it again if the peak and average are not within, say, 20% of each other.

5. Create a table and a graph showing SSE/Non-SSE speed-up as a function of array size. Note: this is not a multithreading assignment, so you don't need to worry about a NUMT. Speedup in this case will be S = Psse/Pnon-see = Tnon-sse/Tsse (P = Performance, T = Elapsed Time). Plot both curves on the same set of axes.

6. The Y-axis performance units in this case will be "Speed-Up", i.e., dimensionless.

7. Be sure that the graphs are plotted so that "up" means "faster".

8. Your commentary write-up (turned in as a PDF file) should tell:
1. What machine you ran this on
2. Show the table and graph
3. What patterns are you seeing in the speedups?
4. Are they consistent across a variety of array sizes?
5. Why or why not, do you think?
6. Knowing that SSE SIMD is 4-floats-at-a-time, why could you get a speed-up of < 4.0 or
> 4.0 in the array mutiplication?
7. Knowing that SSE SIMD is 4-floats-at-a-time, why could you get a speed-up of < 4.0 or
> 4.0 in the array mutiplication-reduction?


Attachment:- project file.rar

Reference no: EM131496089

Questions Cloud

Describe how the watergate events changed american views : Summarize the arguments made in each of the two articles regarding the conduct of President Nixon.
What are the triage and mass casualty care challenges : what are the triage, mass casualty care and public health challenges involved in a response to this disaster? Min 250 words, cited
Activities that support specific products : Activities that support specific products or product lines are known as:
Necessary to gather a range of information : To plan and develop a sustainability policy it will be necessary to gather a range of information.
Create a table and a graph showing sse : CS 475/575 -- Spring - Create a table and a graph showing SSE/Non-SSE speed-up as a function of array size - run an array multiplication timing experiment
What are three vulnerable groups : You are a student and are talking with your career counselor. What are three vulnerable groups and what 2 specific things make each vulnerable
Information from a number of sources international : It will be necessary to gather sustainability information from a number of sources International, Commonwealth, state/ territory, industry standards
What is the purpose of the basic accounting equation : What is the basic accounting equation? What is the purpose of the basic accounting equation? Describe the trial balance? What is the purpose?
Benefit to a team or an organisation : Select an idea, improvement or opportunity that would be of benefit to a team or an organisation.

Reviews

inf1496089

6/7/2017 6:10:16 AM

Thanks you guys for providing complete solution of this assignment with coding files and screen shots. Now i will look into second assignment soon. please use the same expert for my next assignment. thanks once more.

inf1496089

6/7/2017 6:06:35 AM

Solution should be alongUSe turbo C++ *Solution should be along with the Project Report and Codes attached to this email. *Please follow the attachment and answer all the questions... *Before starting task please check provided simd.p5.cpp and simd.p5.h files. Please, like all previous assignment, send me the Project Report and Codes attached to this email. Please send me this ASAP

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd