How to use GPUmat when compiling with mcc to make stand alone application?
5 views (last 30 days)
Show older comments
I am trying to include GPUmat into an application. I am able do this in the interactive MATLAB session and use it without any issues. But I am getting error when I am using the same after compiling.
To be specific, here is a simple example, if I am trying to compile GPUstart (am internal command for GPUmat) as
mcc -m GPUstart -a ../GPUmat
'-a' to add all the directory elements of GPUmat to MCR_Cache. It compiles without any error/warning. But when I try to execute it I get the following error.
GPUstart
...
...
...
Error using GPUstart <line 160>
Unable to load the kernels in file blahblahblah/cudalib30.cubin
I tried this on different machines and end up at the same error (but may be at a different .cubin file)
Is there any mistake in what I am doing? or is there a better way to add GPUmat while compiling?
Thank you in anticipation.
Rakesh
1 Comment
Answers (0)
See Also
Categories
Find more on MATLAB Compiler in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!