Cache statistics for two versions of matrix multiplication

Assignment Help Basic Statistics
Reference no: EM13909071

Problem: Explore the cache statistics for two versions of matrix multiplication.

Description: Implement the matrix multiplication with two different versions:

- Version 1: Standard matrix multiplication

- Version 2: Matrix multiplication with loop interchanged.

Version 1:

For I = 0 to N-1

For J =0 to N-1

Sum = 0

For K =0 to N-1

Sum += A[I][K] * B [K][J]

C[I][J] = Sum

Version 2: Interchanged J and K loop.

//initialize C[I][J] to 0

For I =0 to N -1

For K = 0 to N -1

For J = 0 to N-1

C[I][J] += A[I][K] * B[K][J]

Find the cache statistics for both of these versions, for N = 10, 100, 1000. Following two cache

configurations can be used for these experiments

Configuration 1: 4KB, Block size of 32 bytes, direct map

Configuration 2: 4KB, Block size of 32 byte, set associative with 2 sets.

Cache can be configured using the preference in ARMSim. For getting cache statistics, first put a breakpoint on SWI 0x11 instruction, and then note the statistics from cache-> statistics.

To simplify the experiment, you may left the data arrays un-initialize, therefore making the matrix 0 by default.

Reference no: EM13909071

Questions Cloud

Find the unconditional probability density of the time : Find the unconditional probability density of the time until the above customer departs. Assuming FCFS service, and conditional on i customers in the system immediately after the above arrival.
Hydrophobic end and a hydrophilic end : An analysis of a lipid shows that it is made up of two fatty acids and a phosphate group, each bonded to a glycerol molecule. The molecule has a hydrophobic end and a hydrophilic end.
Undergone cancer surgery aims : 41. Giving radiation in someone who has undergone cancer surgery aims ..... A. accelerate healingB. inhibit cancer cell growthC. destroy cancer cells that may remainD. increase endurance
Ktm monitors its fixed overhead : KTM monitors its fixed overhead. In an analysis of fixed overhead cost variances,
Cache statistics for two versions of matrix multiplication : Problem: Explore the cache statistics for two versions of matrix multiplication. Description: Implement the matrix multiplication with two different versions: Version 1: Standard matrix multiplication and Version 2: Matrix multiplication with loop in..
What was your total real return on investment : You bought one of Great White Shark Repellant Co.’s 6.8 percent coupon bonds one year ago for $1,054. These bonds make annual payments and mature 15 years from now. Suppose you decide to sell your bonds today, when the required return on the bonds is..
How has the history of environmentalism : Instructions:Write a 500-1000 word paper on the following:How has the history of environmentalism led us to where we are today? Please includePublic Health concerns as they relate to environmental issues.
Polaris monitors its overhead : Polaris monitors its overhead. In an analysis of overhead cost variances,
What is the market value of equity : Ciba Inc`s expected Yield is 4%. The capitalization rate is 3.25% and the overall cost of debt is 1.85%. If the market value of debt is 3M…what is the market value of Equity?

Reviews

Write a Review

Basic Statistics Questions & Answers

  A brand name has a 60% recognition rate

A brand name has a 60% recognition rate. Assume the owner of the brand wants to verify that rate by beginning with a small sample of 6 randomly selected consumers.

  Find maximum number of jars factory can produce

Jars have exactly the same number of red, orange, yellow, green, blue, and violet jelly beans. What is the maximum number of jars the factory can produce?

  Find probability at least two of stocks increase in value

Chances to increase in value, decrease in value, or remain the same. Estimate the probability at least two of the stocks increase in value.

  Percentage of population scored near mean

What percentage of population scored between the mean and Jorge?

  Scores on the lassical music test

A researcher hypothesizes that individuals who listen to classical music will score differently from the general population on a test of spatial ability. On a standardized test of spatial ability, µ =58.A random sample of 14 individuals who listen..

  Test claim use hypothesis test claim by constructing an

in a recent nyc marathon 25221 men finished and 253 dropped out. 12 883 women finished and 163 dropped out use a 0.01

  The second urn depending on whether the outcome was heads

consider two urns. the first contains two white and seven black balls and the second contains five white and six black

  The quality control manager at a lightbulb factory needs to

the quality control manager at a lightbulb factory needs to determine whether the mean life of a large shipment of

  In a survey respondents were asked to indicate their

in a survey respondents were asked to indicate their favorite brand of cereal post or kelloggs. they were allowed only

  A random sample of 16 emergency reports was selected from

a random sample of 16 emergency reports was selected from the files of an ambulance service. the mean time computed

  Draw distribution of cholesterol level for females

Standard deviation of 44.7 mg/dL. Let x signify serum total cholesterol level for U.S. females 20 years old or older. Draw the distribution of the variable x.

  Difference between the means of a treatment

When testing for a difference between the means of a treatment and a placebo group, the computer display below is obtained. using a 0.05 significance level, is there sufficient evidence to support the claim that the treatment group (variable 1) co..

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