Pregunta

I've tried to install the cuda toolkit 5.0 on ubuntu 11.10. I think the installation went well I'm trying to test it by running the deviceQuery example. But when I run nvcc deviceQuery from the command line i get the error: nvcc fatal : Don't know what to do with 'deviceQuery'

Does anyone know why i'm getting this issue.

¿Fue útil?

Solución

nvcc is not used to run programs. It is a compiler driver. When a cuda program gets compiled/linked/built, it becomes an ordinary executable.

We use ordinary methods (based on OS) to run these executables.

When setting up a machine for CUDA usage, it may be useful to refer to the setup instructions for the OS type. These documents explain how to build (compile) the CUDA samples as well.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top