applicationskeleton / Skeleton

a tool to generate skeleton applications that mimic a real applications' parallel or distributed performance at a task level
MIT License
13 stars 2 forks source link

Feature/task flops #18

Closed andre-merzky closed 8 years ago

andre-merzky commented 8 years ago

NOTE: this branch depends on feature/synapse_tasks, and should only be merged after that one.

This change is backward compatible. It adds an optional additional token to the skeleton description language, named task_mode, which can be set to the literal strings "time" or "flops". If not specified, it defaults to "time", representing the previous behavior, to sleep for the amount of time given in task_length. If set to "flops", then the computation step will interpret the value of task_length as the number of flops to consume.

No attempt has been made to tune the skeleton compute emulation to represent an exact amount of flops.