Many function evaluation with GPU

6 Ansichten (letzte 30 Tage)
sungho Kang
sungho Kang am 2 Okt. 2016
Kommentiert: Joss Knight am 4 Okt. 2016
Hi,
I ask a gpu usage several times. But I am still curious about that. In the following figure, I have two function. and data1, data2 which are very long.
I just want to calculate these functions with GPU simultaneously. What can I do?
Function 2 has user-defined function, myfun1. Using GPU, I expect that these kind of functions can be calculated faster than cpu.

Akzeptierte Antwort

Joss Knight
Joss Knight am 3 Okt. 2016
The GPU can be used to run the same function simultaneously on a lot of data. If you wish to run different functions simultaneously, you are looking for other features of Parallel Computing Toolbox, such as parfor, parfeval and batch.
  2 Kommentare
sungho Kang
sungho Kang am 4 Okt. 2016
Yeah, already I look into the function you mensioned, but it was not possible to use GPU.
Anyway, thank you for your reply.
Joss Knight
Joss Knight am 4 Okt. 2016
You can use the GPU inside any of those parallel constructs that I mention.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu GPU Computing finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by