From 360f0ae4af3185c872e14a6f04fd1ef82e8211b4 Mon Sep 17 00:00:00 2001 From: Thunderbrook <52529258+Thunderbrook@users.noreply.github.com> Date: Mon, 18 Apr 2022 16:14:43 +0800 Subject: [PATCH] fix concurrent_unordered_map (#41820) --- .../framework/fleet/heter_ps/cudf/concurrent_unordered_map.cuh.h | 1 + 1 file changed, 1 insertion(+) diff --git a/paddle/fluid/framework/fleet/heter_ps/cudf/concurrent_unordered_map.cuh.h b/paddle/fluid/framework/fleet/heter_ps/cudf/concurrent_unordered_map.cuh.h index 266508eb4de..4ad32d1714f 100644 --- a/paddle/fluid/framework/fleet/heter_ps/cudf/concurrent_unordered_map.cuh.h +++ b/paddle/fluid/framework/fleet/heter_ps/cudf/concurrent_unordered_map.cuh.h @@ -551,6 +551,7 @@ class concurrent_unordered_map : public managed { update_existing_value(existing_value, x, op); insert_success = true; + break; } current_index = (current_index + 1) % hashtbl_size; -- GitLab