GPU implementation of Min function
1 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(3 个)
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.
0 个评论
Ben Tordoff
2012-4-24
All syntaxes for MIN and MAX are supported in Parallel Computing Toolbox starting in release R2011b.
0 个评论
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 :)
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Performance Profiling 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!