Skip to content

Commit da914aa

Browse files
committed
Adjust minimum task threshold to 10k
1 parent 7363043 commit da914aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xss-common-argsort.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ X86_SIMD_SORT_INLINE void xss_argsort(T *arr,
627627
constexpr int thread_limit = 8;
628628
int thread_count = std::min(thread_limit, omp_get_max_threads());
629629
arrsize_t task_threshold
630-
= std::max((arrsize_t)100000, arrsize / 100);
630+
= std::max((arrsize_t)10000, arrsize / 100);
631631

632632
// We use omp parallel and then omp single to setup the threads that will run the omp task calls in qsort_
633633
// The omp single prevents multiple threads from running the initial qsort_ simultaneously and causing problems

0 commit comments

Comments
 (0)