cuSVM Error?

I try to run cuSVMTest.m on matlab R2014a and then get error message :

Kernel Cache GPU memory allocation failed invalid device function. Error using cuSVMTrain Kernel Cache GPU memory allocation failed

Getting the ource code from here :

CUDA 5.0

Anyone can give me the solution?

“invalid device function” usually means that something is not compiled for the correct architecture. Why are you using such an old version of CUDA?

Cause when i try in CUDA 6.5
New error occurred

Cuda errro in line 958: invalid device symbol.
Cuda errro in line 961: invalid device symbol.
Cuda errro in line 963: invalid device symbol.
Kernel Cache GPU memory allocation failed invalid device function . Error using cuSVMTrain
Kernel Cache GPU memory allocation failed

Still stuck in the same problem

the “invalid device symbol” error is already discussed in the link you provided:

[url]https://hemprasad.wordpress.com/2014/10/13/cusvm-for-cuda-6-0-and-matlab-x64/[/url]

“In file cuSVMSolver.cu lines 869-874 all calls of cudaMemcpyToSymbol was changed, because of changes made in CUDA 6.0 runtime library – c - Error in cudaMemcpyToSymbol using CUDA 5 - Stack Overflow
before the change:
mxCUDA_SAFE_CALL(cudaMemcpyToSymbol(„taumin”, &h_taumin, sizeof(float) ));
after the change:
mxCUDA_SAFE_CALL(cudaMemcpyToSymbol(taumin, &h_taumin, sizeof(float) ));”

What GPU are you trying to run this on?

Yup, i’ve read it
It was changed and error message still occurred
This is the code
(GT630M 2GB)

//958
mxCUDA_SAFE_CALL(cudaMemcpyToSymbol(taumin, &h_taumin, sizeof(float) ));

gamma*=-1;
//961
mxCUDA_SAFE_CALL(cudaMemcpyToSymbol(kernelwidth, &gamma, sizeof(float)));
//963
mxCUDA_SAFE_CALL(cudaMemcpyToSymbol(C, &CC, sizeof(float)));