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

  Statistics-probability assignment

MATH1550H: Assignment:  Question:  A word is selected at random from the following poem of Persian poet and mathematician Omar Khayyam (1048-1131), translated by English poet Edward Fitzgerald (1808-1883). Find the expected value of the length of th..

  What is the least number

MATH1550H: Assignment:  Question:     what is the least number of applicants that should be interviewed so as to have at least 50% chance of finding one such secretary?

  Determine the value of k

MATH1550H: Assignment:  Question:     Experience shows that X, the number of customers entering a post office during any period of time t, is a random variable the probability mass function of which is of the form

  What is the probability

MATH1550H: Assignment:Questions: (Genetics) What is the probability that at most two of the offspring are aa?

  Binomial distributions

MATH1550H: Assignment:  Questions:  Let’s assume the department of Mathematics of Trent University has 11 faculty members. For i = 0; 1; 2; 3; find pi, the probability that i of them were born on Canada Day using the binomial distributions.

  Caselet on mcdonald’s vs. burger king - waiting time

Caselet on McDonald’s vs. Burger King - Waiting time

  Generate descriptive statistics

Generate descriptive statistics. Create a stem-and-leaf plot of the data and box plot of the data.

  Sampling variability and standard error

Problems on Sampling Variability and Standard Error and Confidence Intervals

  Estimate the population mean

Estimate the population mean

  Conduct a marketing experiment

Conduct a marketing experiment in which students are to taste one of two different brands of soft drink

  Find out the probability

Find out the probability

  Linear programming models

LINEAR PROGRAMMING MODELS

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