Home | History | Annotate | Download | only in parallel

Lines Matching refs:difference_type

46 template<typename difference_type, typename OutputIterator>
48 equally_split(difference_type n, thread_index_t num_threads, OutputIterator s)
50 difference_type chunk_length = n / num_threads;
51 difference_type num_longer_chunks = n % num_threads;
52 difference_type pos = 0;
71 template<typename difference_type>
72 difference_type
73 equally_split_point(difference_type n,
77 difference_type chunk_length = n / num_threads;
78 difference_type num_longer_chunks = n % num_threads;