Nitro: A Framework for Adaptive Code Variant Tuning
Authors:
- Saurav MuralidharanSMSaurav Muralidharan
- Manu ShantharamMSManu Shantharam
- Mary HallMHMary Hall
- Michael GarlandMGMichael Garland
- Bryan CatanzaroBCBryan Catanzaro
- 1 May 2014
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 15302075,p. 501-512
Abstract
Autotuning systems intelligently navigate a search space of possible implementations of a computation to find the implementation(s) that best meets a specific optimization criteria, usually performance. This paper describes Nitro, a programmer-directed auto tuning framework that facilitates tuning of code variants, or alternative implementations of the same computation. Nitro provides a library interface that permits programmers to express code variants along with meta-information that aids the system in selecting among the set of variants at run time. Machine learning is employed to build a model through training on this meta-information, so that when a new input is presented, Nitro can consult the model to select the appropriate variant. In experiments with five real-world irregular GPU benchmarks from sparse numerical methods, graph computations and sorting, Nitro-tuned variants achieve over 93% of the performance of variants selected through exhaustive search. Further, we describe optimizations and heuristics in Nitro that substantially reduce training time and other overheads.Keywords
This publication has 27 references indexed in Scilit:
- LIBSVMACM Transactions on Intelligent Systems and Technology, 2011
- Optimizing Sparse Data Structures for Matrix-vector MultiplyThe International Journal of High Performance Computing Applications, 2010
- Implementing sparse matrix-vector multiplication on throughput-oriented processors2009
- OSKI: A library of automatically tuned sparse matrix kernelsJournal of Physics: Conference Series, 2005
- Statistical Models for Empirical Search-Based Performance TuningThe International Journal of High Performance Computing Applications, 2004
- Sparsity: Optimization Framework for Sparse Matrix KernelsThe International Journal of High Performance Computing Applications, 2004
- Active Harmony: Towards Automated Performance Tuning2002
- Efficient Management of Parallelism in Object-Oriented Numerical Software Libraries1997
- High-level optimization via automated statistical modeling1995
- The Algorithm Selection Problem1976