I want to use some mex function in MATLAB ( http://patternsonascreen.net/cuSVM.html) that is written with CUDA language for executing on Nvidia GPUs.
I start with building .mexw64 version of it using the Visual Studio, But I got the invalid mex file error when I tried to call it in MATLAB:
??? Invalid MEX-file 'I:\cusvm_vs2005.mexw64': The specified procedure could not
be found.
I already used the dependency walker. Initially the “IESHIMS.DLL” and “MSVCR80.DLL” are missing. I put the first in system32 and the second in current matlab folder.
The Dependency Walker still get error:
Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module.
Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.
The DLL-tree has a red "nvcuda.dll" block and a red "ieframe.dll" block in its sub-tree.
I currently use VS2005, Matlab 2010b, Window 7 (64 bit), cuda toolkit 3.2.
The original cuSVM code is implemented on window xp (32 bit) and VS2005, So It has .mexw32 version in its package.
DETAILS-------------------------------------------------------------------------------------------------------------------------------
(1)
I uploaded two files of the project:
-mex function and its MATLAB test code
-visual studio project that builds the .mexw64 file.
The shared links are:
http://www.4shared.com/zip/B4u7WTvk/cusvm_mex_test.html
http://www.4shared.com/zip/duBVHVIM/cusvm_mex_building.html
(2)Some details of the steps I followed, can be found in my question in the following websites:
http://forums.nvidia.com/index.php?showtopic=223329
I appreciate your help and comments.