[PATCH] D34007: Implement inclusive_scan and transform_inclusive_scan

Marshall Clow via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 7 12:16:42 PDT 2017


mclow.lists created this revision.

Like https://reviews.llvm.org/D33997, this implements the non-parallel versions of these algorithms

https://reviews.llvm.org/D33997 implemented `reduce` and `transform_reduce`, this adds `inclusive_scan` and `transform_inclusive_scan`.

There will be another patch that adds `exclusive_scan` and `transform_exclusive_scan`


https://reviews.llvm.org/D34007

Files:
  include/numeric
  test/std/numerics/numeric.ops/inclusive.scan/inclusive_scan_iter_iter_iter.pass.cpp
  test/std/numerics/numeric.ops/inclusive.scan/inclusive_scan_iter_iter_iter_op.pass.cpp
  test/std/numerics/numeric.ops/inclusive.scan/inclusive_scan_iter_iter_iter_op_init.pass.cpp
  test/std/numerics/numeric.ops/transform.inclusive.scan/transform_inclusive_scan_iter_iter_iter_bop_uop.pass.cpp
  test/std/numerics/numeric.ops/transform.inclusive.scan/transform_inclusive_scan_iter_iter_iter_bop_uop_init.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34007.101792.patch
Type: text/x-patch
Size: 20618 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170607/caaed2dd/attachment-0001.bin>


More information about the cfe-commits mailing list