Home Deploy mex file without dependencies
Reply: 0

Deploy mex file without dependencies

user699
1#
user699 Published in April 24, 2018, 6:24 am

I am compiling some mex files that contain CUDA code.

With the right compiler installed, and CUDA installed in the machine, the compilation would always succeed and the code then works fine. Sometimes one can also use the same compiled .mexw64 (in the win64 case) in a different PC without the need of compiling it, as long as that PC has CUDA installed. However, if CUDA is not installed, the execution would fail because it can not find the needed libraries.

Is it possible to compile mex files and include any library/dependency on them, so they can, in most cases, just be copypasted into a new PC and execute?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.403213 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO