Click here to Skip to main content
15,885,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am trying to execute cuSVM (SVM implementation using CUDA) using mex file from matlab, but it gives following error in matlab,
??? Unexpected Standard exception from MEX file.
What() is: bad allocation

And this error comes because of following statement from cuSVMSolver.cu,
C++
std::vector<int> KernelCacheItersSinceUsed(RowsInKernelCache,0);

please , provide the solution to handle this error.

Thanks in advance
Posted
Updated 12-Jan-12 22:20pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900