How can we recognize which channel is current copy engine user?

hi

I’m studying TX2 gpu device driver
and modifying it to monitor each channel’s resource usage and to restrict it.

To do this I need to recognize current channels which use gpu resources such as gpu processing cores and copy engines.

you can see YOLO2 tiny with our gpu core restriction at

I wonder how can we recognize which channel is current copy engine user?

While current gpu core users can be checked with a gpu register, we can not find out the way to know current copy engine user.

thank you.

Hi,

Could you share the exactly meaning of ‘channel’ you mentioned here?

Do you want to profile a GPU application?
If yes, you can check nvprof for the information.
[url]https://docs.nvidia.com/cuda/profiler-users-guide/index.html[/url]

Thanks.