简体   繁体   中英

Boost Threadpool with network or GPU

I'm using a thread group like shown here Boost group_threads Maximal number of parallel thread

My program does depth graph search which takes really long. Because that i want to speed up. I thought about connection other Computers over network or using my GPU.

So it is possible to start threads on other computers over network(of course they have to run client) or to use the own GPU

Does boost thread support something like this?

boost thread does not support this exactly. Boost threads are specific to a given process.

For the multi-machine case, you would need to communicate between the machines over the network. You could use boost asio sockets or boost MPI for this.

For the GPU case, you would have to write code specifically to execute on the GPU which is an in-depth subject.

You could also take a look at OpenCL which may be a better fit for your purpose.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM