Giter VIP home page Giter VIP logo

lat-lara-autotuning-tool's Introduction

LAT - LARA Autotuning Tool

(Ongoing project)

What is Lat

Lat is a tool for code autotuning, built using LARA (a Javascript based language that supports source code transformations) and applied using the Clava tool . It is designed for C/C++. With it, coders may test multilple variants of their code dynamically and then choose the best variant to ship their code.

Lat mimics Intel Software Autotuning Tool (ISAT) behaviour for testing multiple instances of the same code. However, it is build entirely on LARA. Because of this it is platform agnostic and can be more flexible and easier to expand, both in functionalities and languages (not only C and C++).

For details and instructions visit the ๐Ÿ““ Lat Wiki

Folder Structure:

  • ๐Ÿ“ aspects - contains LARA aspects that Lat uses to manipulate the source code AST;
  • ๐Ÿ“ examples - a list of ISAT examples implemented with LAT;
  • ๐Ÿ“ lat - the source code of Lat, implementation of all the Javascript classes and core functions;
  • ๐Ÿ“ templates - html, css and js (extensionless) files that Lat uses to produce the LatReport;
  • ๐Ÿ“ tests - LARA aspect files that contain some tests for lat methods and properties

lat-lara-autotuning-tool's People

Contributors

cc187 avatar joaobispo avatar msramalho avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lat-lara-autotuning-tool's Issues

aspectdef getJoinpointsToChangeForLatVarOmp push multiple `$pragma`s sets undefined for next values

if this code in the aspectdef getJoinpointsToChangeForLatVarOmp

select pragma end
apply
    if(latvarOut.name == $pragma.name){
        latvarOut.pragmas.push($pragma);
        break;
    }
end

is changed to (notice the break), to insert multiple pragmas in the LatVarOmp.pragmas:

select pragma end
apply
    if(latvarOut.name == $pragma.name){
        latvarOut.pragmas.push($pragma);
    }
end

the value of the first item in latvarOut.pragmas is correct but, if there are more #pragmas in the source code with the same name, the value of the items in latvarOut.pragmas is undefined, except for the first one

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.