I've been recently involved in implementing a GPU-based image registration technique. The cpu code is written in MatLab, and that's what I can get from intensive search, so i'm stuck with MatLab. I have the two options of jacket or matlab ptx files.
Recently mathwork acquired jacket, so I have the only option to write my kernels as CU files and use nvcc -ptx filename.cu to generate the ptx file. My concern is that I'm missing great opportunities by not using the Cuda API or the library introduced to solve some basic matrix operation on the GPU like CUBLAS.
So is there any way to use the Cuda API from MatLab, mex file maybe? And is there a good image registration framework written in C/C++ i can use in my research instead of the MatLab version I'm using?