You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replaced ADEvent's / ExecData_t's method of labeling events as deletable by the garbage collection with a reference count strategy where events are only trimmed when the reference count is 0
This fixes a bug found where common parents of host events that have GPU events were getting prematurely trimmed
Added a unit test for the above case
Implemented ADEvent::clear
* @brief Set the partner event linked by a GPU correlation ID
@@ -645,7 +654,7 @@ class ExecData_t {
645
654
unsignedlong m_n_messages; /**< the number of messages */
646
655
std::deque<CommData_t> m_messages; /**< a vector of all messages */
647
656
std::deque<CounterData_t> m_counters; /**< a vector of all counters */
648
-
bool m_can_delete; /**< Flag indicating that the event is deletable by the garbage collection*/
657
+
unsignedlong m_references; /**< track number of external references to object. When 0 the object can be deleted*/
649
658
std::vector<eventID> m_gpu_correlation_id_partner; /**< The event ids partner events linked by a correlation ID, either the launching CPU event or the GPU kernel event */
0 commit comments