Skip to content

fix generation and loading of dynamic models (for non-MLIR builds)

This commit removes function declarations made obsolete after the limpet rewrite when generating dynamic models. The make_dynamic_model script should work correctly without issue (assuming the necessary header files are present). An allocation function declared in an extern "C" block has been added to allocate the dynamic model type without having to worry about name mangling when looking the symbol up with dlsym. The "-fPIC" flag should be used when compiling dynamic models from the CMake.

Closes #310 (closed)

Merge request reports