I am trying to get the deviceQuery example to work under Ubuntu 8.10. I have used CUDA before in windows and I am starting a new project in ubuntu.
I have made the example compile, so the right version of gcc and g++ is setup.
When I run deviceQuery, the following line:
error_code = cudaGetDeviceProperties(&deviceProp, dev);
returns an error code of 11. I have looked this up and 11 is cudaErrorInvalidValue.
dev is set to 0 and deviceProp is a newly intialized cudaDeviceProp object.
Any help is appreciated. I bet you’ve never heard this before on a forum: Take your time answering, I have plenty of other things I am working on. But if you do know the solution, thanks for any help.