faasm / polybench

Port of the PolyBench/C to WebAssembly for its usage with Faasm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PolyBench/C in Faasm

This repository contains a slightly modified Polybench/C benchmark for its use with Faasm.

In particular, we cross-compile PolyBench/C to WebASsembly, and compare it to native execution. For the cross-compilation scripts, check the examples and the CMakeLists.txt in this repository.

To run with the WAMR runtime, we need to add an extra include header to prevent some WASM memory optimisations. Other than that, the benchmark requires no source code changes whatsoever. NOTE: annoyingly, C source files seem to require a bit more work to get the symbols linked in. Look into why that is the case.

TODO: what benchmarks are not there and why?

About

Port of the PolyBench/C to WebAssembly for its usage with Faasm

License:Apache License 2.0


Languages

Language:C 99.1%Language:CMake 0.9%