add homogeneous multi-core support

This commit is contained in:
Jorge Aparicio 2019-06-18 10:31:31 +02:00
parent 81275bfa4f
commit 9897728709
33 changed files with 385 additions and 53 deletions

View file

@ -49,7 +49,11 @@ pub fn codegen(
quote!(#name::Locals::new(),)
};
let symbol = task.args.binds(name);
let symbol = if cfg!(feature = "homogeneous") {
util::suffixed(&task.args.binds(name).to_string(), core)
} else {
task.args.binds(name).clone()
};
let priority = task.args.priority;
const_app.push(quote!(