Skip to content
Discussion options

You must be logged in to vote

Thrust has different backends that have different implementations to accelerate the various algorithms.
For reduce there is

  • thrust/thrust/system/cpp/detail/reduce.h
  • thrust/thrust/system/cuda/detail/reduce.h
  • thrust/thrust/system/omp/detail/reduce.h
  • thrust/thrust/system/tbb/detail/reduce.h
  • thrust/thrust/system/detail/generic/reduce.h
  • thrust/thrust/system/detail/sequential/reduce.h

All our code is open source so you can read them up. The openmp and tbb backends could see some love but the cuda backend of cub is actively developed

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jrhemstad
Comment options

@Wilson1211
Comment options

Answer selected by Wilson1211
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Thrust
Labels
None yet
3 participants