| /oneTBB/include/oneapi/tbb/ |
| H A D | cache_aligned_allocator.h | 41 class cache_aligned_allocator { 49 cache_aligned_allocator() = default; 50 template<typename U> cache_aligned_allocator(const cache_aligned_allocator<U>&) noexcept {} in cache_aligned_allocator() function 75 using other = cache_aligned_allocator<U>; 88 class cache_aligned_allocator<void> { 94 using other = cache_aligned_allocator<U>; 100 bool operator==(const cache_aligned_allocator<T>&, const cache_aligned_allocator<U>&) noexcept { re… 104 bool operator!=(const cache_aligned_allocator<T>&, const cache_aligned_allocator<U>&) noexcept { re… 181 using detail::d1::cache_aligned_allocator;
|
| H A D | combinable.h | 34 using my_alloc = typename tbb::cache_aligned_allocator<T>;
|
| H A D | concurrent_queue.h | 52 template <typename T, typename Allocator = tbb::cache_aligned_allocator<T>> 287 template <typename It, typename Alloc = tbb::cache_aligned_allocator<iterator_value_t<It>>, 321 template <typename T, typename Allocator = tbb::cache_aligned_allocator<T>> 681 template <typename It, typename Alloc = tbb::cache_aligned_allocator<iterator_value_t<It>>>
|
| H A D | concurrent_priority_queue.h | 40 template <typename T, typename Compare = std::less<T>, typename Allocator = cache_aligned_allocator… 447 typename Alloc = tbb::cache_aligned_allocator<iterator_value_t<It>>, 462 typename Alloc = tbb::cache_aligned_allocator<T>,
|
| H A D | flow_graph.h | 762 , public function_input< Input, Output, Policy, cache_aligned_allocator<Input> > in __TBB_requires() 765 typedef cache_aligned_allocator<Input> internals_allocator; in __TBB_requires() 858 cache_aligned_allocator<Input> in __TBB_requires() 861 typedef cache_aligned_allocator<Input> internals_allocator; in __TBB_requires() 1149 , public reservable_item_buffer< T, cache_aligned_allocator<T> > 1152 typedef cache_aligned_allocator<T> internals_allocator; 2876 …Input, typename base_type::output_ports_type, Policy, cache_aligned_allocator<Input>> mfn_input_ty… in __TBB_requires()
|
| H A D | concurrent_vector.h | 226 template <typename T, typename Allocator = tbb::cache_aligned_allocator<T>> 1048 template <typename It, typename Alloc = tbb::cache_aligned_allocator<iterator_value_t<It>>,
|
| H A D | enumerable_thread_specific.h | 759 template <typename T, typename Allocator=cache_aligned_allocator<T>,
|
| /oneTBB/test/conformance/ |
| H A D | conformance_allocators.cpp | 31 TestAllocator<oneapi::tbb::cache_aligned_allocator<void>>(Concept); 35 using Allocator = oneapi::tbb::cache_aligned_allocator<int>; 43 TestAllocator<oneapi::tbb::cache_aligned_allocator<void>>(Comparison); 51 TestAllocator<oneapi::tbb::cache_aligned_allocator<void>>(Exceptions); 59 TestAllocator<oneapi::tbb::cache_aligned_allocator<void>>(ThreadSafety);
|
| H A D | conformance_concurrent_vector.cpp | 1246 TVector v6(v5, oneapi::tbb::cache_aligned_allocator<ComplexType>()); in TestDeductionGuides() 1247 …ert(std::is_same<decltype(v6), TVector<ComplexType, oneapi::tbb::cache_aligned_allocator<ComplexTy… in TestDeductionGuides() 1254 TVector v8(std::move(v5), oneapi::tbb::cache_aligned_allocator<ComplexType>()); in TestDeductionGuides() 1255 …ert(std::is_same<decltype(v8), TVector<ComplexType, oneapi::tbb::cache_aligned_allocator<ComplexTy… in TestDeductionGuides() 1265 oneapi::tbb::cache_aligned_allocator<int>>::value, in test_member_types() 1269 using test_allocator_type = oneapi::tbb::cache_aligned_allocator<int>; in test_member_types()
|
| H A D | conformance_concurrent_queue.cpp | 33 using test_allocator = StaticSharedCountingAllocator<oneapi::tbb::cache_aligned_allocator<T>>; 258 template<typename T, typename A = oneapi::tbb::cache_aligned_allocator<T>> 924 …using allocator_t = StaticSharedCountingAllocator<oneapi::tbb::cache_aligned_allocator<std::size_t… in TestExceptions() 925 …using allocator_char_t = StaticSharedCountingAllocator<oneapi::tbb::cache_aligned_allocator<char>>; in TestExceptions() 1074 …d::is_same<typename container_type::allocator_type, oneapi::tbb::cache_aligned_allocator<int>>::va… in test_member_types() 1208 class allocator: public oneapi::tbb::cache_aligned_allocator<T> {
|
| H A D | conformance_enumerable_thread_specific.cpp | 1022 …me<typename default_container_type::allocator_type, oneapi::tbb::cache_aligned_allocator<int>>::va… in TestMemberTypes() 1196 TestInstantiation<oneapi::tbb::cache_aligned_allocator>("oneapi::tbb::cache_aligned_allocator"); 1205 …run_assignment_and_copy_constructor_tests<oneapi::tbb::cache_aligned_allocator>("oneapi::tbb::cach… 1245 … run_parallel_tests<oneapi::tbb::cache_aligned_allocator>("oneapi::tbb::cache_aligned_allocator");
|
| /oneTBB/doc/main/tbb_userguide/ |
| H A D | Memory_Allocation.rst | 10 ``cache_aligned_allocator<T>``, address critical issues in parallel 35 Use the ``cache_aligned_allocator<T>`` template to always allocate on 37 ``cache_aligned_allocator`` are guaranteed to not have false sharing. 38 However, if an object is allocated by ``cache_aligned_allocator`` and 44 that uses ``cache_aligned_allocator``\ for allocation: 50 std::vector<int,cache_aligned_allocator<int> >; 54 The functionality of ``cache_aligned_allocator<T>`` comes at some 57 ``cache_aligned_allocator<T>`` only if false sharing is likely to be
|
| H A D | Which_Dynamic_Libraries_to_Use.rst | 14 The templates ``tbb_allocator<T>`` and ``cache_aligned_allocator<T>`` 37 * - \ ``tbb_allocator<T>`` \ ``cache_aligned_allocator<T>``
|
| /oneTBB/test/tbb/ |
| H A D | test_allocators.cpp | 76 TestAllocator<tbb::cache_aligned_allocator<void>>(Broken); 84 TestAllocatorWithSTL<tbb::cache_aligned_allocator<void>>();
|
| H A D | test_task.cpp | 180 …std::vector<task_type, tbb::cache_aligned_allocator<task_type>> vector_test_task(threads_num, task… 222 …std::vector<task_type, tbb::cache_aligned_allocator<task_type>> vector_test_task(task_threads_num,… 267 …std::vector<task_type, tbb::cache_aligned_allocator<task_type>> vector_test_task(threads_num, task… 303 using task_pool_type = std::vector<SpawningTask, tbb::cache_aligned_allocator<SpawningTask>>; 396 std::vector<suspended_task, tbb::cache_aligned_allocator<suspended_task>> test_task; in __anon509d20bd0b02() 418 using task_pool_type = std::vector<bypass_task, tbb::cache_aligned_allocator<bypass_task>>; 477 std::vector<bypass_task, tbb::cache_aligned_allocator<bypass_task>> test_task_pool; 534 std::vector<task_type, tbb::cache_aligned_allocator<task_type>> test_tasks; 599 std::vector<task_type, tbb::cache_aligned_allocator<task_type>> test_tasks; 685 std::vector<task_type, tbb::cache_aligned_allocator<task_type>> test_tasks;
|
| H A D | test_hw_concurrency.cpp | 75 tbb::cache_aligned_allocator<std::size_t> caa;
|
| H A D | test_tbb_header.cpp | 181 TestTypeDefinitionPresence( cache_aligned_allocator<int> ); in DefinitionPresence()
|
| H A D | test_enumerable_thread_specific.cpp | 419 TestConstructorWithBigType<tbb::cache_aligned_allocator>("tbb::cache_aligned_allocator");
|
| H A D | test_resumable_tasks.cpp | 269 …tbb::enumerable_thread_specific<int, tbb::cache_aligned_allocator<int>, tbb::ets_suspend_aware> et… in TestSuspendResume()
|
| /oneTBB/src/tbb/ |
| H A D | private_server.cpp | 174 tbb::cache_aligned_allocator<private_server>().deallocate( this, 1 ); in remove_server_ref() 339 my_thread_array = tbb::cache_aligned_allocator<padded_private_worker>().allocate( my_n_thread ); in private_server() 351 … tbb::cache_aligned_allocator<padded_private_worker>().deallocate( my_thread_array, my_n_thread ); in ~private_server() 429 return new( tbb::cache_aligned_allocator<private_server>().allocate(1) ) private_server(client); in make_private_server()
|
| H A D | parallel_pipeline.cpp | 171 cache_aligned_allocator<task_info>().deallocate(array,array_size); in ~input_buffer() 255 task_info* new_array = cache_aligned_allocator<task_info>().allocate(new_size); in grow() 265 cache_aligned_allocator<task_info>().deallocate(old_array,old_size); in grow()
|
| H A D | task_stream.h | 47 typedef std::deque< T, cache_aligned_allocator<T> > queue_base_t; in alignas()
|
| /oneTBB/python/rml/ |
| H A D | ipc_server.cpp | 455 tbb::cache_aligned_allocator<ipc_server>().deallocate( this, 1 ); in remove_server_ref() 843 my_thread_array = tbb::cache_aligned_allocator<padded_ipc_worker>().allocate( my_n_thread ); in ipc_server() 850 my_waker = tbb::cache_aligned_allocator<ipc_waker>().allocate(1); in ipc_server() 853 my_stopper = tbb::cache_aligned_allocator<ipc_stopper>().allocate(1); in ipc_server() 872 tbb::cache_aligned_allocator<padded_ipc_worker>().deallocate( my_thread_array, my_n_thread ); in ~ipc_server() 876 tbb::cache_aligned_allocator<ipc_waker>().deallocate( my_waker, 1 ); in ~ipc_server() 880 tbb::cache_aligned_allocator<ipc_stopper>().deallocate( my_stopper, 1 ); in ~ipc_server() 1117 server = new( tbb::cache_aligned_allocator<ipc_server>().allocate(1) ) ipc_server(client); in __TBB_make_rml_server()
|
| /oneTBB/include/oneapi/tbb/detail/ |
| H A D | _flow_graph_item_buffer_impl.h | 34 template <typename T, typename A=cache_aligned_allocator<T> > 244 template<typename T, typename A=cache_aligned_allocator<T> >
|
| H A D | _flow_graph_tagged_buffer_impl.h | 46 … typename Allocator=tbb::cache_aligned_allocator< typename aligned_pair<ValueType, void *>::type >
|