Options when running kernels

Hi,

I wonder what is the difference between run_kernels and run_graph? Is that just running a single kernel and a batch of them?

Regards,
Zhenyang

A graph is a collection of kernels along with associated dependency information. This is what run_graph executes. In order to use this you need to first construct a graph. If you just have a simple list of kernels then run_kernels can be used.

Regards, Freddie.

1 Like