PytatoPyOpenCLArrayContext: add support for kernel profiling (#311)
* Fix ruff 0.11.4 error * PytatoPyOpenCLArrayContext: add support for kernel profiling * add a simple test * remove global pyopencl import * replace argument indicator Co-authored-by:Alexandru Fikl <alexfikl@gmail.com> * add add_profiling_event * outline multi-kernel per t_unit implementation * small fixes * refactor tabulate_profiling_data * add test to disable * rename to private fields/method Co-authored-by:
Andreas Klöckner <inform@tiker.net> * refactor to simplify API * bit more doc * factor out profile enable/disable --------- Co-authored-by:
Alexandru Fikl <alexfikl@gmail.com> Co-authored-by:
Andreas Klöckner <inform@tiker.net>
Loading
Please sign in to comment