Hi, distant friend!
Because I need to operate on the resource, but the gdb debugging process, tracking variables, (for example, watch m_sid) has a lot of exceptions. I'm tracking m_sid just to find out which method adds or subtracts m_sid. This gives me control over which shader the kernel can allocate.
So, is there something I can monitor for resource changes? Such as registers, L1 cache, thread changes, etc.
I want to obtain the changes of resources by modifying the code, may I ask how I need to modify it?
Looking forward to your early reply.
Good luck with your studies.
Thanks.