CUFFT_INTERNAL_ERROR --> Maybe it's a bug. I suspect that is a serious BUG in cufft

In this application , I make a cudaErrorLaunchFailure happened intendedly.

The problem is that if cudaErrorLaunchFailure happened, this application will crash at cufftDestroy(g_plan).

And, if you do not call cufftDestroy(g_plan), this application will also crash when it’s over.

When it crashed, error message will be printed as follow:

(CUDA 1.1)

cufft: ERROR: C:/cygwin/home/cuda0/cuda/sw/gpgpu_rel1.1/cufft/src/plan.cu, line 35

cufft: ERROR: CUFFT_INTERNAL_ERROR

(CUDA 2.0 Beta2)

cufft: ERROR: D:/Bld/rel/gpgpu/toolkit/r2.0/cufft/src/plan.cu, line 35

cufft: ERROR: CUFFT_INTERNAL_ERROR

Related infomation:

VS2005

Windows XP SP2 (32bit)

CUDA2.0 Beta2 and CUDA1.1 (installed separately)

Display Card Driver Version: 177.35(with CUDA2.0 Beta2) and 169.21(with CUDA1.1) (installed separately)

DELL T5400

CPU: Xeon 5410

MEM: 4GB

Card 1: XFX 8800GT 512MB

Card 2: Quadro NVS 290 (Primary card for display)

Please refer to the attachment.
FftCrash.zip (16.2 KB)

Possible that you have hit the tip of an iceberg!

It’s exactly my problem, too!

I’m sure that if you try limiting the number of elements in cufftplan to 1024 (cufft 1d) it works, which hints about a memory allocation problem.

Initially I also suspected the 4GB of RAM (in association with XP-32), but I tried with and without /3GB in boot.ini and had the same problem; since the OS memory mapping is quite different in the two situations, I tend to exclude it has something to do with having 4GB.

Please keep me posted if you discover something.

Fernando