My sysem (SuSe 10.3 and Suse 11 , SDK 2.0 ) see only emulator device, but CUDA works, I tesed it by screensavers and it show about 4000 FPS .
So, my programm works only in emulator mode.
I wrote code for enumerating devices and it return only emulator.
CUT_DEVICE_INIT(argc, argv);
r=cudaGetDevice(&dev);
r=cudaGetDeviceCount(&devices);
printf(“Devices=%d\n”,devices);
for(i=0;i<devices;i++)
{
r=cudaGetDeviceProperties(&prop,i);
printf(“\nDevice[%d].name=%s\n”,i,prop.name);
printf(“\nDevice[%d].totalGlobalMem=%d\n”,i,prop.totalGlobalMem);
printf(“\nDevice[%d].sharedMemPerBlock=%d\n”,i,prop.sharedMemPerBlock);
printf(“\nDevice[%d].warpSize=%d\n”,i,prop.warpSize);
}
I tryed to compile it witout Makefile for more control compiler switches by command:
nvcc --link *.cu -o test -I/usr/local/cuda/include -L/usr/local/cuda/lib -I/root/NVIDIA_CUDA_SDK/common/inc -L/root/NVIDIA_CUDA_SDK/common/lib/linux libcutil.a
It works similar.
Is it exist some tools for enumerating devices and testing it ?