2020
DOI: 10.48550/arxiv.2010.07226
|View full text |Cite
Preprint
|
Sign up to set email alerts
|

Discriminating Equivalent Algorithms via Relative Performance

Aravind Sankaran,
Paolo Bientinesi

Abstract: For a given linear algebra problem, we consider those solution algorithms that are mathematically equivalent to one another, and that mostly consist of a sequence of calls to kernels from optimized libraries such as BLAS and LAPACK.Although equivalent (at least in exact precision), those algorithms typically exhibit significant differences in terms of performance, and naturally, we are interested in finding the fastest one(s). In practice, we often observe that multiple algorithms yield comparable performance … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
2
1

Citation Types

0
5
0

Year Published

2021
2021
2021
2021

Publication Types

Select...
1

Relationship

1
0

Authors

Journals

citations
Cited by 1 publication
(5 citation statements)
references
References 21 publications
0
5
0
Order By: Relevance
“…Instead of summarizing the performance statistic (such as mean or minimum execution time) of all the N measurements into one number, multiple statistics are evaluated and compared on data that is randomly sampled from the N measurements; this approach is commonly known as "bootstrapping". This allows us to gain more information from the set of measurements (also referred as distributions or histogram) of execution times, which are then used for performance comparisons [15]. The distributions are compared pair-wise and merged into the same cluster if the comparison of two algorithms evaluates to be performance-equivalent.…”
Section: Methodsmentioning
confidence: 99%
See 4 more Smart Citations
“…Instead of summarizing the performance statistic (such as mean or minimum execution time) of all the N measurements into one number, multiple statistics are evaluated and compared on data that is randomly sampled from the N measurements; this approach is commonly known as "bootstrapping". This allows us to gain more information from the set of measurements (also referred as distributions or histogram) of execution times, which are then used for performance comparisons [15]. The distributions are compared pair-wise and merged into the same cluster if the comparison of two algorithms evaluates to be performance-equivalent.…”
Section: Methodsmentioning
confidence: 99%
“…Although we considered a use-case where it is possible to execute and measure all the different combination of solution algorithms, this may not be an ideal solution for applications where there is an exponential number of alternative implementations. For instance, the linear algebra expression in the line 4 of Procedure 6 can alone have many different equivalent algorithms, each having a different sequence of calls to optimized libraries such as BLAS and LAPACK [44]; typically these algorithms also show significant difference in performance, even without considering the split of computation among devices [15] [45]. Therefore, in case of exponential explosion of the search space, our methodology can still be applied on a subset of possible solutions and the resulting clusters with relative scores can be used as a ground truth to guide the search of algorithm via reinforcement learning.…”
Section: Methodsmentioning
confidence: 99%
See 3 more Smart Citations