sfu-arch / needle Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
The epp bundled with needle is outdated. The standalone epp repository has an implementation which is much more robust. It supports a) multiple functions b) multithreaded code as well as better corner case handling. To remove the dependence on the bundled epp tool, we need to remove the canonicalization passes into their own tool. Then the entire bitcode as a whole can be fed to the standalone epp tool. The needle frontend also needs to be modified to support reading of multiple functions format dump files. Alternatively, helper scripts could act as a bridge between formats.
I have installed needle and I ran make on the 164.gzip workload. I see that there are a lot of files generated, but I am interested where can I find the offload function? Searching through the generated files I couldn't identify which is the function that can be offloaded.
Thanks!
RazvanN
How does needle treat library functions like printf? Are those instructions taken into account by the analysis also?
We use a naming pass which sets the name of any LLVM basic block to "__unk__XX", where XX is a unique number. This pass is run after all canonicalization is done, eg. LoopSimplify, BreakCriticalEdges but before any Needle specific transformations are performed. This is required because we use basic block names to identify the blocks across an epp stage and the needle extraction stage.
This pass can be removed by transformation of the epp and needle phases to a preprocess phase which runs the canonicalization passes, then running opt -instnamer
and then running subsequent epp/needle phases.
At the moment Needle supports the extraction of a single path/braid into a function call. The extraction of a path described in section 3 of the design document is isolates the state for each extracted path into separate variables. There are no invasive changes which need to be made in the extraction process. The frontend needs to support the specification of multiple paths and the extraction needs to insert multiple call sites.
Here's the Weekly Digest for sfu-arch/needle:
Last week, no issues were created.
Last week, no pull requests were created, updated or merged.
Last week there were no commits.
Last week there were no contributors.
Last week there were no stargazers.
Last week there were no releases.
That's all for last week, please
You can also view all Weekly Digests by clicking here.
Your Weekly Digest bot. ๐
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.