diff --git a/examples/python/kernel_stat_collector.py b/examples/python/kernel_stat_collector.py new file mode 100644 index 0000000000000000000000000000000000000000..5924b6b30ca7524d12050764b6e43dffe7eb4917 --- /dev/null +++ b/examples/python/kernel_stat_collector.py @@ -0,0 +1,88 @@ +import loopy as lp +import numpy as np +from loopy.kernel_stat_collector.kernel_stat_collector import KernelStatCollector +from loopy.kernel_stat_collector.kernel_stat_collector import KernelStatOptions as kso # noqa + + +knl = lp.make_kernel( + "{[i,k,j]: 0<=i