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.
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 intask_length
. If set to "flops", then the computation step will interpret the value oftask_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.