diff --git a/src/include/migraphx/argument.hpp b/src/include/migraphx/argument.hpp index f07f2f0c8f8..d02a009e317 100644 --- a/src/include/migraphx/argument.hpp +++ b/src/include/migraphx/argument.hpp @@ -117,7 +117,7 @@ struct MIGRAPHX_EXPORT argument : raw_data data_t m_data{}; }; -std::vector flatten(const std::vector& args); +MIGRAPHX_EXPORT std::vector flatten(const std::vector& args); MIGRAPHX_EXPORT std::vector to_shapes(const std::vector& args); MIGRAPHX_EXPORT void migraphx_to_value(value& v, const argument& a); diff --git a/src/include/migraphx/shape.hpp b/src/include/migraphx/shape.hpp index d2b25b091fc..bfa3253f137 100644 --- a/src/include/migraphx/shape.hpp +++ b/src/include/migraphx/shape.hpp @@ -429,7 +429,7 @@ struct MIGRAPHX_EXPORT shape }; /// Flatten subshapes to a single vector of non-tuple type of shapes -std::vector flatten(const std::vector& shapes); +MIGRAPHX_EXPORT std::vector flatten(const std::vector& shapes); MIGRAPHX_EXPORT void migraphx_to_value(value& v, const shape& s); MIGRAPHX_EXPORT void migraphx_from_value(const value& v, shape& s);