-
How many operations are still pending?
-
How does a thread ensure its activities are transferred before it ends? Because metrics are stored in thread local maps, it needs to get all activities and attribute them before it dies.
opencl-api.c device_finalizer_register vs thread finalizer
pending_operations