Slides in ppt

Emergy Berger, Calvin Lin, Samuel
Z. Guyer
CSE 231 Presentation by Jennifer Grau
The Problem
• Software libraries typically designed to be
generalized for reuse in many situations
• Why a problem?
– This generality represents a performance
• Goal: to improve performance portability
via specialization and dynamic feedback
The Broadway Compiler
• Uses annotations to describe the library but
not the application
• Handles existing libraries by separating the
library source from the annotations
• Using PLAPACK parallel dense linear
algebra library
– 1st algorithm: 10% for large to 180% for small
– 2nd algorithm: 36% for large to 662% for small
What’s Going On?
• Annotations provide mechanism for
describing library-specific analysis &
• PLAPACK manipulates matrices via view
• Annotations declare matrices to be general,
local, or empty
• Broadway performs dataflow analysis
Extending Broadway for
Performance Portability
• Broadway doesn’t support optimizations
which depend on interactions between the
application and target machine
– May require run-time information
• The tradeoff between sequential and parallel
computation may change dynamically as the
amount of work often varies as the
algorithm progresses
Proposed Solution
• Dynamic Feedback
– Wish to use dynamic sampling to determine which
optimization is the best
• Modify annotation language to support keyword
select to indicate there are multiple optimizations
– Provides information to limit when select is run
select every 20 {
/* list of possible optimizations */
• How might the overhead of dynamic
sampling affect the actual benefit of the
• Will they need to limit how many possible
optimizations that may be listed in a given
• What might be some other disadvantages of
dynamic sampling?
Related flashcards
Create flashcards