Searched refs:new_handles (Results 1 – 3 of 3) sorted by relevance
374 void Channel::Message::SetHandles(std::vector<PlatformHandle> new_handles) { in SetHandles() argument376 handles.reserve(new_handles.size()); in SetHandles()377 for (auto& h : new_handles) { in SetHandles()384 std::vector<PlatformHandleInTransit> new_handles) { in SetHandles() argument388 CHECK(new_handles.empty()); in SetHandles()391 CHECK_EQ(new_handles.size(), legacy_header()->num_handles); in SetHandles()392 std::swap(handle_vector_, new_handles); in SetHandles()397 CHECK(new_handles.empty()); in SetHandles()401 CHECK_LE(new_handles.size(), max_handles_); in SetHandles()402 header()->num_handles = static_cast<uint16_t>(new_handles.size()); in SetHandles()[all …]
188 void SetHandles(std::vector<PlatformHandle> new_handles);189 void SetHandles(std::vector<PlatformHandleInTransit> new_handles);
162 std::unique_ptr<CudaSolverHandles> new_handles( in CudaSolver() local165 handle_map->insert(std::make_pair(cuda_stream_, std::move(new_handles))) in CudaSolver()