Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You are trying to bake three blueberry pound cakes. Cake ingredients are as follows: 1 cup butter, softened 1 cup sugar 4 large eggs 1
You are trying to bake three blueberry pound cakes. Cake ingredients are as follows:
cup butter, softened
cup sugar
large eggs
teaspoon vanilla extract
teaspoon salt
teaspoon nutmeg
cups flour
cup blueberries
The recipe for a single cake is as follows:
Step : Preheat oven to deg F deg C Grease and flour your cake pan.
Step : In large bowl, beat together with a mixer butter and sugar at medium speed until light and fluffy. Add eggs, vanilla, salt and nutmeg. Beat until thoroughly blended. Reduce mixer speed to low and add flour, cup at a time, beating just until blended.
Step : Gently fold in blueberries. Spread evenly in prepared baking pan. Bake for minutes.
a
Your job is to cook three cakes as efficiently as possible. Assuming that you only have one oven large enough to hold one cake, one large bowl, one cake pan, and one mixer, come up with a schedule to make three cakes as quickly as possible. Identify the bottlenecks in completing this task.
b
Assume now that you have three bowls, three cake pans and three mixers. How much faster is the process now that you have additional resources?
c
Assume now that you have two friends that will help you cook, and that you have a large oven that can accommodate all three cakes. How will this change the schedule you arrived at in Exercise above?
d
Compare the cakemaking task to computing three iterations of a loop on a parallel computer. Identify datalevel parallelism and tasklevel parallelism in the cakemaking loop.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started