I want to write a plug-in with CUDA 4.0 on linux that should be OS independent. I am not sure as for the best strategy: in particular, I prefer coding using the CUDA Runtime API instead of the CUDA Driver API. Is this an option in Maya? Apart from others, assuming I code with CUDA Driver API, then the similar-in-functionality-to STL Thrust O/O lib, which was integrated in CUDA v4.0, is not an option anymore.
As for working examples, I 've spotted https://github.com/redpawfx/cudaFluid (so far) which I haven't compiled (yet) for linux,
but it inspires me w.r.t the design, although I'd prefer to avoid MEL. Any opinions or experience with GPU-Maya coding are more than welcome.