wkcn / MobulaOP

A Simple & Flexible Cross Framework Operators Toolkit
MIT License
164 stars 21 forks source link

Does it work if custom op and the framework are compiled with different version of GCC? #33

Closed eric-haibin-lin closed 5 years ago

eric-haibin-lin commented 5 years ago

MXNet pip package is built with gcc4. I wonder when Mobula ops are compiled (without MXNet source code) with gcc5, would it still work?

wkcn commented 5 years ago

Yes, it works. I test it where MXNet is installed by pip and MobulaOP is compiled with gcc5/6/7/8 and clang++7.

MobulaOP only calls MXNet C API (MXNDArrayGetData, MXNDArrayWaitToRead and MXNDArrayWaitToWrite).