This repository contains data for the CARL project.
- Download Rust
- Clone Comal to any directory
git clone [email protected]:stanford-ppl/comal.git
- Run
git submodule update --init --recursive
to pull in the latest version of Tortilla, the protobuffer definition of Comal Graphs - Install Protoc
Carl is a Comal driver which accepts Comal graphs with file-defined inputs, and prints the elapsed cycles -- suitable for parsing as part of a larger tool flow.
- Build Carl
cargo build -r --bin carl
- Run Carl against a program graph with data, which simulates execution.
target/release/carl --proto <app> --data <data directory> -c <input file>
In order to specify timing files, and see other options, run carl --help
. Timing files are specified in TOML format, and their structures can be found in the comal repository.