Home Deploy mex file without dependencies
Reply: 0

# Deploy mex file without dependencies

Ander Biguri
1#
Ander Biguri Published in 2018-01-11 16:32:06Z
 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.
Processed in 0.379157 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO