GPU implementation of Min function

조회 수: 4 (최근 30일)
Sarah
Sarah 2011년 6월 7일
I have a 2D array and I want to find the minimum value along each row (i.e dimension 2). This is part of a larger function which I am implementing on a GPU so I would like to do this on the GPU as well. However the implementation of the min function will only perform a bitwise comparison of two arrays. Does any one have any suggestions of how I could do this without gathering the array back to the CPU?
Thanks for your help, Sarah
PS I don't know if this possible in Jacket but I don't have it or finances to buy it

답변 (3개)

Ben Tordoff
Ben Tordoff 2011년 6월 10일
Hi Sarah, if your MATLAB license is up to date you might like to have a look at the pre-release of R2011b which has just become available. This includes a number of updates to the GPU features which you might find useful.
It can be downloaded by logging in to the main www.mathworks.com page. After logging in, click on "My Account" at the top right of the page, then "Download R2011b Prerelease" from the "Account services" section.

Ben Tordoff
Ben Tordoff 2012년 4월 24일
All syntaxes for MIN and MAX are supported in Parallel Computing Toolbox starting in release R2011b.

John Melonakos
John Melonakos 2011년 6월 11일
Sarah, while you're not in a position to purchase Jacket right now, I thought I'd go ahead and let you know that this function is indeed supported in Jacket and is one of the one's that we've worked on really hard to improve. Hopefully that will help you eventually :)

카테고리

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