Skip to Main content Skip to Navigation
Journal articles

A framework for automatic and parameterizable memoization

Abstract : Improving execution time and energy efficiency is needed for many applications and usually requires sophisticated code transformations and compiler optimizations. One of the optimization techniques is memoization, which saves the results of computations so that future computations with the same inputs can be avoided. In this article we present a framework that automatically applies memoization techniques to C/C++ applications. The framework is based on automatic code transformations using a source-to-source compiler and on a memoization library. With the framework users can select functions to memoize as long as they obey to certain restrictions imposed by our current memoization library. We show the use of the framework and associated memoization technique and the impact on reducing the execution time and energy consumption of four representative benchmarks.
Document type :
Journal articles
Complete list of metadatas

Cited literature [13 references]  Display  Hide  Download

https://hal.inria.fr/hal-02305415
Contributor : Erven Rohou <>
Submitted on : Friday, October 4, 2019 - 10:42:24 AM
Last modification on : Wednesday, August 5, 2020 - 3:50:31 AM

File

memoization_softwarex.pdf
Files produced by the author(s)

Identifiers

Citation

Loïc Besnard, Pedro Pinto, Imane Lasri, João Bispo, Erven Rohou, et al.. A framework for automatic and parameterizable memoization. SoftwareX, Elsevie, 2019, 10, pp.100322. ⟨10.1016/j.softx.2019.100322⟩. ⟨hal-02305415⟩

Share

Metrics

Record views

84

Files downloads

494