Is the Global Optimization Toolbox GPU compliant?

8 次查看(过去 30 天)
I am wondering if my code will benefit from a speedup from a GPU (i.e. wondering if I should buy one), and realized that I don't know if the Global Optimization Toolbox is GPU compliant?
Thanks! Stefan

采纳的回答

John Melonakos
John Melonakos 2012-6-26
It is not. Your best bet is Jacket.

更多回答(1 个)

Walter Roberson
Walter Roberson 2012-6-25
That document shows how the various commands can be used with parallelism options.
I do not know if the GPU can be accessed from multiple workers at the same time (I haven't studied the GPU.) I have, however, read that only one GPU can be accessed per MATLAB instance (parallel workers are separate instances, I gather.)
  3 个评论
Walter Roberson
Walter Roberson 2012-6-26
Some of the routines (such as MultiStart) wrap around existing commands, with those commands invoking user functions to do the calculations. The user functions can invoke GPU calculations (provided that you have the Parallel Computing Toolbox).
If, however, you are using the options that invoke parallel instances, then I have no information at this time as to whether the parallel instances can simultaneously use the same GPU.
Your question is not clear as to what model of GPU usage you are hoping for ?
Stefan
Stefan 2012-6-26
I am hoping to be able to run patternsearch on the GPU instead of on a few different worker threads. I suppose that's asking a bit much of GPU computing (as it does not support a lot of operations).
Thanks for the reply once again!

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 GPU Computing 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by