parallel.gpu.CUDAKernel memory types
1 view (last 30 days)
Show older comments
Hi folks.
I would like to know which types of CUDA memory I can use with subj matlab object. More specifically I wonder if user can use constant or texture memory. I'm newbie in CUDA programming but AFAIK using such memory types requires code outside kernel, but this code (cpu code) is discarded by compiler with -ptx flag. Correct me if I'm wrong or forward some useful links.
0 Comments
Answers (2)
Edric Ellis
on 28 Sep 2011
Currently it's not possible to use either texture or constant memory with CUDAKernel objects. The memory caches in recent NVIDIA GPUs mean that many of the advantages of using constant memory are no longer so important.
Do you have a particular example of what you'd like to do with texture/constant memory?
See Also
Categories
Find more on GPU Computing 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!