I want to try and port one of my algorithms to CUDA. I have never programmed with CUDA before and was wondering if someone could point me in the right direction regarding a few queries that I have:
I have to load some 3D volumes. I have access to a GTX 285 card, so memory should not be an issue. What is the best way to load 3D image data for processing.
I need to do the following:
- I will not write anything into them but just read blocks of data from this memory.
- Access blocks of 3D data from this image and do some processing.
I was going through the Dr. Dobbs CUDA tutorial and got very confused with all the different memory types. Should I load this data in constant, shared or texture memory? Given that I will do frequent access and need read only access, what do you recommend?