Searched refs:deferred_host_callbacks (Results 1 – 2 of 2) sorted by relevance
111 std::vector<std::function<void()>>* deferred_host_callbacks; // never null member134 std::vector<std::function<void()>>* deferred_host_callbacks) { in SafeH2DMemcpy() argument137 deferred_host_callbacks->push_back([buf_raw] { delete[] buf_raw; }); in SafeH2DMemcpy()
167 std::vector<std::function<void()>> deferred_host_callbacks; in ExecuteThunks() local192 &deferred_host_callbacks, in ExecuteThunks()209 if (!deferred_host_callbacks.empty()) { in ExecuteThunks()210 auto fn = [deferred_host_callbacks{std::move(deferred_host_callbacks)}]() { in ExecuteThunks()211 for (auto& callback : deferred_host_callbacks) { in ExecuteThunks()