I want to get user GPU device details in to the my program. I try to use Device Query script provide by NVIDIA but still I cant run that script out of the NVIDIA directory. how can I retrieve GPU device details using that script or there are any other ways to do that (I use C to develop my project). Please help me to solve that problem.
The deviceQuery program uses the C function cudaGetDeviceProperties(). See the documentation in CudaReferenceManual.pdf.
Thank you first dude, I try to do this but in the compile time it give error “cannot found cuda.h file or directory”. I also check the LD_LIBRARY_PATH but its properly set but I cant figure out why that header file cannot found (I use C not C++). please help me to solve that problem.