Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

Improve std::async QoI when implementing new parallel algorithms #27836

Open Quuxplusone opened 8 years ago

Quuxplusone commented 8 years ago
Bugzilla Link PR27837
Status NEW
Importance P normal
Reported by Eric Fiselier (eric@efcs.ca)
Reported on 2016-05-22 21:07:48 -0700
Last modified on 2016-05-23 02:29:17 -0700
Version unspecified
Hardware PC Windows NT
CC hfinkel@anl.gov, llvm-bugs@lists.llvm.org, mclow.lists@gmail.com
Fixed by commit(s)
Attachments
Blocks
Blocked by
See also

The current implementation of async boots up a new thread for every call. There are likely better implementations, which will become easier to adopt once we have better parallelism machinery.

We should look into improving std::async as part of implementing parallel algorithms.

Quuxplusone commented 8 years ago

Assigning to Marshall, since your working on this.

Quuxplusone commented 8 years ago

Also we should reconsider the implementation of std::future and the rest of the stuff in