+- +-
Say hello if visiting :) by Gecko
11 Jan 2023, 07:43:05 pm

Seti is down again by Mike
09 Aug 2017, 10:02:44 am

Some considerations regarding OpenCL MultiBeam app tuning from algorithm view by Raistmer
11 Dec 2016, 06:30:56 am

Loading APU to the limit: performance considerations by Mike
05 Nov 2016, 06:49:26 am

Better sleep on Windows - new round by Raistmer
26 Aug 2016, 02:02:31 pm

Author Topic: CUDA - invalid device function  (Read 15341 times)

Franz

  • Guest
CUDA - invalid device function
« on: 22 Aug 2009, 11:21:21 am »
Please, look at this task:

http://setiathome.berkeley.edu/result.php?resultid=1339584737

Code: [Select]
setiathome_CUDA: Found 1 CUDA device(s):
   Device 1 : GeForce 8500 GT
           totalGlobalMem = 536543232
           sharedMemPerBlock = 16384
           regsPerBlock = 8192
           warpSize = 32
           memPitch = 262144
           maxThreadsPerBlock = 512
           clockRate = 918000
           totalConstMem = 65536
           major = 1
           minor = 1
           textureAlignment = 256
           deviceOverlap = 1
           multiProcessorCount = 16
setiathome_CUDA: CUDA Device 1 specified, checking...
   Device 1: GeForce 8500 GT is okay
SETI@home using CUDA accelerated device GeForce 8500 GT
V12 modification by Raistmer
Priority of worker thread rised successfully
Priority of process adjusted successfully
Total GPU memory 0 free GPU memory 0
Cuda error 'cufftPlan1d(&fft_analysis_plans[FftNum], FftLen, CUFFT_C2C, NumDataPoints / FftLen)' in file 'd:/BoincSeti_Prog/sinbad_repositories/LunaticsUnited/SETI_CUDA_MB_exp/client/cuda/cudaAcc_fft.cu' in line 101 : invalid device function .
setiathome_CUDA: CUDA runtime ERROR in plan FFT. Falling back to HOST CPU processing...

Task's end after .... Run time   26902.59!!!

Computer is GenuineIntel
Intel(R) Core(TM)2 Quad CPU Q6700 @ 2.66GHz [x86 Family 6 Model 15 Stepping 11]
(4 processors) with   NVIDIA GeForce 8500 GT (511MB) driver: 19038
Optimized application by Win32 Lunatics' Unified Installer v0.2 (working well with other geforce CUDA).

Bye,
Francesco

Franz

  • Guest
Re: CUDA - invalid device function
« Reply #1 on: 23 Aug 2009, 03:08:41 am »
As I can see, even if totalGlobalMem = 536543232 and I use new drivers 19038,
at running time
Total GPU memory 0  free GPU memory 0
and so the task given back to the CPU.

I forgot to tell that I use also Cuda2.3rt_fft_dlls.7z  downloaded from here.

I ask why, if you know, GPU memory can be zero.

Bye,
Francesco

Franz

  • Guest
Re: CUDA - invalid device function
« Reply #2 on: 24 Aug 2009, 10:44:02 am »
More info

I have made a full reinstall of Win32 Lunatics' Unified Installer v0.2
and Cuda2.3rt_fft_dlls.7z

As BOINC 6.6.36 stats I read:

Code: [Select]
24.08.2009 14:53:48             Starting BOINC client version 6.6.36 for windows_intelx86
24.08.2009 14:53:48             log flags: task, file_xfer, sched_ops
24.08.2009 14:53:48             Libraries: libcurl/7.19.4 OpenSSL/0.9.8j zlib/1.2.3
24.08.2009 14:53:48             Data directory: D:\Boinc
24.08.2009 14:53:48             Running under account Luca
24.08.2009 14:53:48             Processor: 4 GenuineIntel Intel(R) Core(TM)2 Quad CPU    Q6700  @ 2.66GHz [x86 Family 6 Model 15 Stepping 11]
24.08.2009 14:53:48             Processor features: fpu tsc pae nx sse sse2 mmx
24.08.2009 14:53:48             OS: Microsoft Windows XP: Professional x86 Edition, Service Pack 3, (05.01.2600.00)
24.08.2009 14:53:48             Memory: 2.00 GB physical, 3.85 GB virtual
24.08.2009 14:53:48             Disk: 270.44 GB total, 268.94 GB free
24.08.2009 14:53:48             Local time is UTC +2 hours
24.08.2009 14:53:48             CUDA device: GeForce 8500 GT (driver version 19038, compute capability 1.1, 512MB, est. 5GFLOPS)
24.08.2009 14:53:48     SETI@home       Found app_info.xml; using anonymous platform
24.08.2009 14:53:48             [error] Deleting file MB_6.08_CUDA_V12_VLARKill_FPLim2048.exe while in use
24.08.2009 14:53:48             [error] Deleting file cudart.dll while in use
24.08.2009 14:53:48             [error] Deleting file cufft.dll while in use
24.08.2009 14:53:48             [error] Deleting file libfftw3f-3-1-1a_upx.dll while in use
....

Do you know the meaning of the errors?

Now I see 5 task running (4 CPU and 1 GPU) but I have to wait the end of the GPU's to look in the task result.

Bye,
Francesco

Franz

  • Guest
Re: CUDA - invalid device function
« Reply #3 on: 25 Aug 2009, 10:27:57 am »
All OK now
Problem closed
FF

cryptokid

  • Guest
Re: CUDA - invalid device function
« Reply #4 on: 05 Sep 2009, 08:55:31 pm »
problem solved for me too.

thanks guys.

 

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?
Members
Total Members: 97
Latest: ToeBee
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 59559
Total Topics: 1672
Most Online Today: 74
Most Online Ever: 983
(20 Jan 2020, 03:17:55 pm)
Users Online
Members: 0
Guests: 54
Total: 54
Powered by EzPortal