Skip to main content
Ctrl+K

distributed-ranges documentation

  • Introduction
  • Architecture
  • Concepts
  • Containers
    • dr::mp::distributed_vector
    • dr::mp::distributed_dense_matrix
    • dr::sp::distributed_vector
    • dr::sp::dense_matrix
    • dr::sp::sparse_matrix
  • Algorithms
    • copy
    • exclusive_scan
    • fill
    • for_each
    • inclusive_scan
    • iota
    • reduce
    • sort
    • transform
    • gemm
    • gemv
  • Views
    • all_view
    • counted_view
    • drop_view
    • iota_view
    • take_view
    • sliding_view
    • transform_view
    • zip_view
  • Suggest edit
  • Open issue
  • .rst

sort

Contents

  • Interface
    • MP
    • SP
      • sort()
      • sort()
  • Description
  • Usage

sort#

Interface#

MP#

SP#

template<dr::distributed_range R, typename Compare = std::less<>>
void dr::sp::sort(R &&r, Compare comp = Compare())#
template<dr::distributed_iterator RandomIt, typename Compare = std::less<>>
void dr::sp::sort(RandomIt first, RandomIt last, Compare comp = Compare())#

Description#

See also

C++ model

std::sort

C++ model

std::ranges::sort

Usage#

previous

reduce

next

transform

Contents
  • Interface
    • MP
    • SP
      • sort()
      • sort()
  • Description
  • Usage

By Author name not set

© Copyright 2022-2025, Intel.