This PR enables two more methods in the TornadoExecutionPlan API to debug the kernels and the code dispatcher (number of threads and device in which each task in an immutable task-graph will be executed).
This PR introduces the following methods in the task-graph:
TornadoExecutionPlan executionPlan = new TornadoExecutionPlan(immutableTaskGraph);
executionPlan
.withThreadInfo() // new method to print the thread deployment - same action as --threadInfo from the command line
.withPrintKernel() // new method to dump the generated kernel. Same action as the --printKernel from the command line
.execute();
Description
This PR enables two more methods in the
TornadoExecutionPlan
API to debug the kernels and the code dispatcher (number of threads and device in which each task in an immutable task-graph will be executed).This PR introduces the following methods in the task-graph:
Problem description
Apart from the
Backend/s tested
Mark the backends affected by this PR.
OS tested
Mark the OS where this PR is tested.
Did you check on FPGAs?
If it is applicable, check your changes on FPGAs.
How to test the new patch?