Simple loop executing a kernel many times. Output shows many ComputeEvents being created. Memory usage climbs up, very high, and when I terminate the app, it sits there for ages
WARNING! ComputeEvent(521689984) leaked.
Disposing ComputeEvent(521689984) in Thread(2).
WARNING! ComputeEvent(521682720) leaked.
Etc. How do I ensure these objects are disposed of immediately? If I'm not using them, not adding them to a list… I don't think they should be generated.
You're right. They shouldn't be created if not required. Could you post the loop, please?
Log in to post a comment.