Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 1.06 KB

README.md

File metadata and controls

27 lines (21 loc) · 1.06 KB

Introduction

This repository contains data for the CARL project.

Setup

  1. Download Rust
  2. Clone Comal to any directory
git clone [email protected]:stanford-ppl/comal.git
  1. Run git submodule update --init --recursive to pull in the latest version of Tortilla, the protobuffer definition of Comal Graphs
  2. Install Protoc

Running Carl

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.

  1. Build Carl
cargo build -r --bin carl
  1. 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.