I wrote a simple application that checks if NVIDIA CUDA is available on the computer. It simply displays true if a CUDA-capable device is found.
I send the app to a second PC, and the application didn't run - a dialog box showed up that cudart.dll was not found. I want to check if CUDA is present and it requires CUDA to do that :)
I am using CUDA 5.0, VS2012, VC++11, Windows 7.
Can I compile the application in a way, that all CUDA libraries are inside the executable?
So the scenario is:
- My app is compiled & sent to a computer
- The computer can:
- be running windows, linux (my app is compatible with the system)
- have a gpu or not
- have an nvidia gpu or not
- have CUDA installed or not
- My app should return
true
only if 2.3 and 2.4 are positive (GPU with CUDA)