From 950e640fcfb86c62e5e7aac4562cf9b7f2dda442 Mon Sep 17 00:00:00 2001 From: Christian Mazakas Date: Fri, 26 May 2023 21:06:01 -0700 Subject: [PATCH] Update concurrent_table to use macro-based prefetching --- include/boost/unordered/detail/foa/concurrent_table.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/unordered/detail/foa/concurrent_table.hpp b/include/boost/unordered/detail/foa/concurrent_table.hpp index d66f090d..000a0c56 100644 --- a/include/boost/unordered/detail/foa/concurrent_table.hpp +++ b/include/boost/unordered/detail/foa/concurrent_table.hpp @@ -949,7 +949,7 @@ private: auto mask=pg->match(hash); if(mask){ auto p=this->arrays.elements+pos*N; - this->prefetch_elements(p); + BOOST_UNORDERED_PREFETCH_ELEMENTS(p); auto lck=access(access_mode,pos); do{ auto n=unchecked_countr_zero(mask);