Home
last modified time | relevance | path

Searched refs:log2 (Results 1 – 8 of 8) sorted by relevance

/oneTBB/src/tbbmalloc/
H A DCustomize.h51 return x == 0 ? -1 : static_cast<intptr_t>(tbb::detail::log2(x)); in BitScanRev()
/oneTBB/src/tbb/
H A Dtask_stream.h160 …N = n_lanes >= max_lanes ? max_lanes : n_lanes > 2 ? 1 << (tbb::detail::log2(n_lanes - 1) + 1) : 2; in initialize()
/oneTBB/include/oneapi/tbb/
H A Dconcurrent_hash_map.h131 return segment_index_type(tbb::detail::log2( index|1 )); in segment_index_of()
293 segment_index_type new_seg = tbb::detail::log2( mask+1 ); //optimized segment_index_of in insert_new_node()
731 …hashcode_type mask = (hashcode_type(1) << tbb::detail::log2(hash)) - 1; // get parent mask from th… in __TBB_requires()
976 …hashcode_type m = ( hashcode_type(1) << tbb::detail::log2( h ) ) - 1; // get parent mask from the … in __TBB_requires()
1475 … m = ( hashcode_type(1) << tbb::detail::log2( h ) ) - 1; // get parent mask from the topmost bit in __TBB_requires()
/oneTBB/include/oneapi/tbb/detail/
H A D_utils.h142 std::uintptr_t log2(T in) { in log2() function
H A D_concurrent_unordered_base.h234 …return size_type(1) << size_type(tbb::detail::log2(uintptr_t(bucket_count == 0 ? 1 : bucket_count)… in round_up_to_power_of_two()
1456 size_type msb = tbb::detail::log2(bucket); in get_parent()
1461 size_type bits = tbb::detail::log2(my_bucket_count.load(std::memory_order_relaxed)); in get_next_bucket_index()
H A D_segment_table.h310 return size_type(tbb::detail::log2(uintptr_t(index|1))); in segment_index_of()
H A D_concurrent_skip_list.h1272 std::size_t result = max_level - std::size_t(tbb::detail::log2(engines.local()() + 1)) - 1; in operator()
/oneTBB/test/conformance/
H A Dconformance_concurrent_vector.cpp354 …if(oneapi::tbb::detail::log2(/*reserved size*/old_size|1) > oneapi::tbb::detail::log2(fill_size|1)… in TestCapacity()