Async task priority
qbojj opened this issue · comments
Janeczko Jakub commented
Some tasks are less important than others: (e.g. optimization of shader pipelines while having less optimized version avaiable).
It would be helpful to have a non-tf::taskflow
version of assigning priority to e.g. async and dependent async tasks.
Tsung-Wei Huang commented
@qbojj this is available in the current main branch with tf::TaskParams
unsigned priority = 2;
executor.async(TaskParam{"my task", priority}, [](){});