Given libcudart is less than a megabyte, I suspect the advantages of
linking to the shared library libcudart.so.7.0 on a host with more
than a gigabyte of RAM are negligible.
My reason for raising this is I recently had a potential user give up
because his LD_LIBRARY_PATH did not include /usr/local/cuda/lib64/
instead I think he got an error like:
error while loading shared libraries: libcudart.so.7.0: cannot open
shared object file: No such file or directory
Is there any downside to linking the program directly to the CUDA
Can this readily be done via the Makefile?
Is there any unexpected downside?
Is there a better solution?
As always any comments or guidance would be most welcome