Manipulate mxGPUArrays in conjunction with shared C libraries
Show older comments
I'm asking this question on behalf of someone else more technically proficient in the issue than me. If I understand him, though, the goal is to know how to pass (set and get) data between an mxGPUArray object (corresponding to a gpuArray object in the MATLAB workspace) and a loaded C shared library (MEX-compiled). Also, to know how to create a new mxGPUArray object or resize/repopulate an existing one from said library. Finally, it is desirable to do this entirely on the GPU, so that data doesn't have to go through the host.
Is there a way to do all of the above? If so, what is the best way?
Accepted Answer
More Answers (0)
Categories
Find more on GPU CUDA and MEX Programming in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!