Home
last modified time | relevance | path

Searched refs:tbb_allocator (Results 1 – 25 of 31) sorted by relevance

12

/oneTBB/include/oneapi/tbb/
H A Dtbb_allocator.h41 class tbb_allocator {
55 tbb_allocator() = default;
56 template<typename U> tbb_allocator(const tbb_allocator<U>&) noexcept {} in tbb_allocator() function
81 using other = tbb_allocator<U>;
99 class tbb_allocator<void> {
105 using other = tbb_allocator<U>;
111 inline bool operator==(const tbb_allocator<T>&, const tbb_allocator<U>&) noexcept { return true; }
115 inline bool operator!=(const tbb_allocator<T>&, const tbb_allocator<U>&) noexcept { return false; }
122 using detail::d1::tbb_allocator;
H A Dconcurrent_set.h54 template <typename Key, typename Compare = std::less<Key>, typename Allocator = tbb::tbb_allocator<…
119 typename Alloc = tbb::tbb_allocator<iterator_value_t<It>>,
128 typename Alloc = tbb::tbb_allocator<Key>,
155 template <typename Key, typename Compare = std::less<Key>, typename Allocator = tbb::tbb_allocator<…
220 typename Alloc = tbb::tbb_allocator<iterator_value_t<It>>,
229 typename Alloc = tbb::tbb_allocator<Key>,
H A Dconcurrent_map.h70 …e Value, typename Compare = std::less<Key>, typename Allocator = tbb::tbb_allocator<std::pair<cons…
184 typename Alloc = tbb::tbb_allocator<iterator_alloc_pair_t<It>>,
193 typename Alloc = tbb::tbb_allocator<std::pair<const Key, T>>,
220 …e Value, typename Compare = std::less<Key>, typename Allocator = tbb::tbb_allocator<std::pair<cons…
301 typename Alloc = tbb::tbb_allocator<iterator_alloc_pair_t<It>>,
310 typename Alloc = tbb::tbb_allocator<std::pair<const Key, T>>,
H A Dconcurrent_unordered_set.h45 typename Allocator = tbb::tbb_allocator<Key>>
113 typename Alloc = tbb::tbb_allocator<iterator_value_t<It>>,
125 typename Alloc = tbb::tbb_allocator<T>,
184 typename Allocator = tbb::tbb_allocator<Key>>
251 typename Alloc = tbb::tbb_allocator<iterator_value_t<It>>,
263 typename Alloc = tbb::tbb_allocator<T>,
H A Dconcurrent_unordered_map.h46 typename Allocator = tbb::tbb_allocator<std::pair<const Key, T>> >
165 typename Alloc = tbb::tbb_allocator<iterator_alloc_pair_t<It>>,
178 typename Alloc = tbb::tbb_allocator<std::pair<const Key, T>>,
245 typename Allocator = tbb::tbb_allocator<std::pair<const Key, T>> >
327 typename Alloc = tbb::tbb_allocator<iterator_alloc_pair_t<It>>,
339 typename Alloc = tbb::tbb_allocator<std::pair<const Key, T>>,
/oneTBB/test/conformance/
H A Dconformance_allocators.cpp32 TestAllocator<oneapi::tbb::tbb_allocator<void>>(Concept);
44 TestAllocator<oneapi::tbb::tbb_allocator<void>>(Comparison);
52 TestAllocator<oneapi::tbb::tbb_allocator<void>>(Exceptions);
60 TestAllocator<oneapi::tbb::tbb_allocator<void>>(ThreadSafety);
61 oneapi::tbb::tbb_allocator<int> tbb_alloc;
71 using Allocator = oneapi::tbb::tbb_allocator<int>; Allocator tbb_alloc;
H A Dconformance_enumerable_thread_specific.cpp588 typedef std::vector<T, oneapi::tbb::tbb_allocator<T> > container_type;
613 typedef std::vector<T, oneapi::tbb::tbb_allocator<T> > container_type;
637 typedef std::vector<T, oneapi::tbb::tbb_allocator<T> > container_type; in run_parallel_vector_tests()
700 …ets_type vvs( typename container_type::size_type(25), minus_one, oneapi::tbb::tbb_allocator<T>() ); in run_parallel_vector_tests()
723 typedef std::vector<T, oneapi::tbb::tbb_allocator<T> > container_type; in run_cross_type_vector_tests()
802 std::vector<T, oneapi::tbb::tbb_allocator<T> > v; in run_serial_vector_tests()
806 …for (typename std::vector<T, oneapi::tbb::tbb_allocator<T> >::const_iterator i = v.begin(); i != v… in run_serial_vector_tests()
1063 …if(oneapi::tbb::tbb_allocator<int>::allocator_type() == oneapi::tbb::tbb_allocator<int>::standard)… in init_tbb_alloc_mask()
1198 TestInstantiation<oneapi::tbb::tbb_allocator>("oneapi::tbb::tbb_allocator");
1207 …run_assignment_and_copy_constructor_tests<oneapi::tbb::tbb_allocator>("oneapi::tbb::tbb_allocator"…
[all …]
H A Dconformance_combinable.cpp126 typedef std::vector<T, oneapi::tbb::tbb_allocator<T> > ContainerType;
257 oneapi::tbb::combinable< std::vector<T, oneapi::tbb::tbb_allocator<T> > > &locals;
261 …ParallelVectorForBody ( oneapi::tbb::combinable< std::vector<T, oneapi::tbb::tbb_allocator<T> > > … in ParallelVectorForBody()
275 typedef std::vector<T, oneapi::tbb::tbb_allocator<T> > ContainerType; in RunParallelVectorTests()
H A Dconformance_concurrent_set.cpp44 …::is_same<typename default_container_type::allocator_type, oneapi::tbb::tbb_allocator<int>>::value, in test_member_types()
H A Dconformance_concurrent_map.cpp62 …is_same<typename default_container_type::allocator_type, oneapi::tbb::tbb_allocator<std::pair<cons… in test_member_types()
H A Dconformance_concurrent_unordered_set.cpp48 …::is_same<typename default_container_type::allocator_type, oneapi::tbb::tbb_allocator<int>>::value, in test_member_types()
H A Dconformance_concurrent_hash_map.cpp186 …static_assert(std::is_same<typename container_type::allocator_type, oneapi::tbb::tbb_allocator<std… in test_member_types()
428 container_type vd(il, tbb::tbb_allocator<std::pair<element_type, element_type>>{}); in test()
472 …using allocator_type = only_node_counting_allocator<oneapi::tbb::tbb_allocator<std::pair<const MyK… in TestExceptions()
1093 using DefaultAllocator = oneapi::tbb::tbb_allocator<ComplexTypeConst>; in TestDeductionGuides()
/oneTBB/test/tbb/
H A Dtest_allocators.cpp77 TestAllocator<tbb::tbb_allocator<void>>(Broken);
85 TestAllocatorWithSTL<tbb::tbb_allocator<void>>();
H A Dtest_enumerable_thread_specific.cpp387 if(tbb::tbb_allocator<int>::allocator_type() == tbb::tbb_allocator<int>::standard) { in init_tbb_alloc_mask()
421 TestConstructorWithBigType<tbb::tbb_allocator>("tbb::tbb_allocator");
H A Dtest_hw_concurrency.cpp77 tbb::tbb_allocator<std::size_t> ta;
H A Dtest_concurrent_hash_map.cpp367 …using tbb_string_key_type = std::basic_string<char, std::char_traits<char>, tbb::tbb_allocator<cha… in TestSpecificTypes()
393 …using allocator_data_type = AllocatorAwareData<std::scoped_allocator_adaptor<tbb::tbb_allocator<in… in TestScopedAllocator()
394 …using allocator_type = std::scoped_allocator_adaptor<tbb::tbb_allocator<std::pair<const allocator_… in TestScopedAllocator()
599 tbb::tbb_allocator<std::pair<const int, int>>, in test_with_minimalistic_mutex()
875 …tbb::tbb_hash_compare<Key>, tbb::tbb_allocator<std::pair<const Key, Mapped>>, RWMutexes> == Expect…
H A Dtest_tbb_header.cpp273 TestTypeDefinitionPresence( tbb_allocator<int> ); in DefinitionPresence()
/oneTBB/doc/main/tbb_userguide/
H A DWhich_Dynamic_Libraries_to_Use.rst14 The templates ``tbb_allocator<T>`` and ``cache_aligned_allocator<T>``
37 * - \ ``tbb_allocator<T>`` \ ``cache_aligned_allocator<T>``
H A DWorking_on_the_Assembly_Line_pipeline.rst79 …TextSlice* t = (TextSlice*)oneapi::tbb::tbb_allocator<char>().allocate( sizeof(TextSlice)+max_size…
86 …oneapi::tbb::tbb_allocator<char>().deallocate((char*)this, sizeof(TextSlice)+(physical_end-begin()…
/oneTBB/src/tbb/
H A Dmarket.h70 using clients_container_type = std::vector<pm_client*, tbb::tbb_allocator<pm_client*>>;
H A Dglobal_control.cpp49 …std::set<d1::global_control*, control_storage_comparator, tbb_allocator<d1::global_control*>> my_l…
/oneTBB/doc/main/reference/
H A Dcustom_mutex_chmap.rst40 typename Allocator = tbb_allocator<std::pair<const Key, T>>,
154 … oneapi::tbb::tbb_allocator<std::pair<const int, int>>,
/oneTBB/examples/parallel_pipeline/square/
H A Dsquare.cpp50 TextSlice* t = (TextSlice*)oneapi::tbb::tbb_allocator<char>().allocate(sizeof(TextSlice) + in allocate()
58 oneapi::tbb::tbb_allocator<char>().deallocate( in free()
/oneTBB/examples/parallel_for/polygon_overlay/
H A Drpolygon.hpp183 typedef class std::vector<RPolygon_flagged, oneapi::tbb::tbb_allocator<RPolygon_flagged>>
/oneTBB/examples/concurrent_hash_map/count_strings/
H A Dcount_strings.cpp68 typedef std::basic_string<char, std::char_traits<char>, oneapi::tbb::tbb_allocator<char>> MyString;

12