With which library should I link in cuda 8 to use the function
cuMemGetInfo it does not seem to be in libcudart?
libcuda
It’s part of the cuda driver API, documented here:
[url]http://docs.nvidia.com/cuda/cuda-driver-api/index.html#axzz4QDU1DjKK[/url]
libcuda provides the driver API
libcudart provides the runtime API
I link with libcudart and it still comes up unresolved using cuda 8
It comes up with cuMemGetInfo_V2 unresolved when linking with libcudart
Ok yes it’s in libcuda and not in libcudart. Ok I am good now