7#ifndef PXR_BASE_WORK_TBB_SORT_IMPL_H
8#define PXR_BASE_WORK_TBB_SORT_IMPL_H
12#include <tbb/parallel_sort.h>
15PXR_NAMESPACE_OPEN_SCOPE
23WorkImpl_ParallelSort(C* container)
25 tbb::parallel_sort(container->begin(), container->end());
30template <
typename C,
typename Compare>
32WorkImpl_ParallelSort(C* container,
const Compare& comp)
34 tbb::parallel_sort(container->begin(), container->end(), comp);
37PXR_NAMESPACE_CLOSE_SCOPE