Many function evaluation with GPU

조회 수: 10 (최근 30일)
sungho Kang
sungho Kang 2016년 10월 2일
댓글: Joss Knight 2016년 10월 4일
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.

채택된 답변

Joss Knight
Joss Knight 2016년 10월 3일
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
sungho Kang
sungho Kang 2016년 10월 4일
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 2016년 10월 4일
You can use the GPU inside any of those parallel constructs that I mention.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

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