Utilities

Apart from main functionalities of PySchedCL ie. partitioning a single OpenCL kernel and scheduling several kernels onto heterogeneous systems, PySchedCL has some additional utilities. These functions help to analyze debug log information as well as carry out extensive scheduling experiments.

    Get Optimal Partition

    This utility profiles all 11 partitioned variants of an OpenCL kernel, and returns the optimal partition class value for the same.

    You can find the usage of Get Optimal Partition in Commands page.

    Log Parser

    This utility parses the log data generated during execution of the partitioning and scheduling scripts. By specifying the type of info one need can view. User can -

    • Specify the dispatch/partition information
    • Specify the callback events like PROBE/RESET/TRIGGERED
    • Specify the event type host event/kernel event
    • Specify device type CPU/GPU
    • Specify kernel name
    • By default it shows all the data if nothing is specified.

      You can find the usage of Log Parser in Commands page.

      Run Scheduler

      Run Scheduler is a wrapper method over scheduler.py script. The utility runs the scheduler script for a specified number of times, computes and returns the average schedule makespan for a scheduling policy given a taskset.

      You can find the usage of Run Scheduler in Commands page.

      Parse Data Dump

      This utility parses the output data dump saved in the outputs folder after execution of a kernel.

      You can find the usage of the same in Commands page.