| CPC G06F 8/433 (2013.01) [G06F 8/47 (2013.01); G06F 9/544 (2013.01); G06F 15/7807 (2013.01); G06F 16/9024 (2019.01)] | 19 Claims |

|
1. A method, comprising:
providing a heterogeneous programming environment for defining a dataflow graph as object oriented source code;
receiving graph source code generated in the heterogeneous programming environment, the graph source code defining a plurality of kernels and a plurality of communication links, wherein each of the plurality of communication links couple a respective pair of the plurality of kernels to form the dataflow graph;
compiling the graph source code to implement the dataflow graph in a heterogeneous processing system using compiled source code, wherein compiling the graph source code comprises:
assigning the plurality of kernels to the heterogeneous processing system based on constraints defined in the graph source code for the plurality of kernels, wherein the constraints are user-defined constraints that instruct the compiler to place a first kernel of the kernels in a first type of hardware element in the heterogeneous processing system and place a second kernel of the kernels in a second, different type of hardware element in the heterogeneous processing system,
assigning a communication type to the plurality of communication links defined in the graph source code, and
selecting synchronization techniques for transferring data between the plurality of kernels using the plurality of communication links; and
configuring the heterogeneous processing system to execute the dataflow graph using the compiled source code.
|