diff --git a/cpp/daal/src/algorithms/implicit_als/implicit_als_predict_ratings_result_fpt.cpp b/cpp/daal/src/algorithms/implicit_als/implicit_als_predict_ratings_result_fpt.cpp index 69f446d9a95..644d42b44b5 100644 --- a/cpp/daal/src/algorithms/implicit_als/implicit_als_predict_ratings_result_fpt.cpp +++ b/cpp/daal/src/algorithms/implicit_als/implicit_als_predict_ratings_result_fpt.cpp @@ -45,7 +45,7 @@ namespace interface1 * \param[in] method Algorithm computation method */ template -Status Result::allocate(const daal::algorithms::Input * input, const daal::algorithms::Parameter * parameter, const int method) +DAAL_EXPORT services::Status Result::allocate(const daal::algorithms::Input * input, const daal::algorithms::Parameter * parameter, const int method) { const InputIface * algInput = static_cast(input); @@ -56,7 +56,8 @@ Status Result::allocate(const daal::algorithms::Input * input, const daal::algor return st; } -template Status Result::allocate(const daal::algorithms::Input * input, const daal::algorithms::Parameter * parameter, const int method); +template DAAL_EXPORT services::Status Result::allocate(const daal::algorithms::Input * input, + const daal::algorithms::Parameter * parameter, const int method); } // namespace interface1 } // namespace ratings diff --git a/cpp/daal/src/algorithms/linear_model/linear_model_predict_batch_fpt.cpp b/cpp/daal/src/algorithms/linear_model/linear_model_predict_batch_fpt.cpp index d77f5b5cb66..1b956c02f03 100644 --- a/cpp/daal/src/algorithms/linear_model/linear_model_predict_batch_fpt.cpp +++ b/cpp/daal/src/algorithms/linear_model/linear_model_predict_batch_fpt.cpp @@ -36,7 +36,7 @@ using namespace daal::services; using namespace daal::data_management; template -Status Result::allocate(const daal::algorithms::Input * input, const daal::algorithms::Parameter * par, const int method) +DAAL_EXPORT services::Status Result::allocate(const daal::algorithms::Input * input, const daal::algorithms::Parameter * par, const int method) { const Input * in = static_cast(input); size_t nVectors = in->get(data)->getNumberOfRows(); @@ -48,7 +48,8 @@ Status Result::allocate(const daal::algorithms::Input * input, const daal::algor return st; } -template Status Result::allocate(const daal::algorithms::Input * input, const daal::algorithms::Parameter * par, const int method); +template DAAL_EXPORT services::Status Result::allocate(const daal::algorithms::Input * input, const daal::algorithms::Parameter * par, + const int method); } // namespace prediction } // namespace linear_model diff --git a/cpp/daal/src/algorithms/normalization/minmax/minmax_fpt.cpp b/cpp/daal/src/algorithms/normalization/minmax/minmax_fpt.cpp index 2b5e3496277..a072f0d795f 100644 --- a/cpp/daal/src/algorithms/normalization/minmax/minmax_fpt.cpp +++ b/cpp/daal/src/algorithms/normalization/minmax/minmax_fpt.cpp @@ -44,7 +44,7 @@ namespace interface1 * \param[in] method Computation method of the minmax normalization algorithm */ template -Status Result::allocate(const daal::algorithms::Input * input, int method) +DAAL_EXPORT services::Status Result::allocate(const daal::algorithms::Input * input, int method) { DAAL_CHECK(input, ErrorNullInput); @@ -62,7 +62,7 @@ Status Result::allocate(const daal::algorithms::Input * input, int method) return s; } -template Status Result::allocate(const daal::algorithms::Input * input, int method); +template DAAL_EXPORT services::Status Result::allocate(const daal::algorithms::Input * input, int method); } // namespace interface1 } // namespace minmax diff --git a/cpp/daal/src/algorithms/pca/pca_result_fpt.cpp b/cpp/daal/src/algorithms/pca/pca_result_fpt.cpp index 58ecaeb939c..74e05f1f9f4 100644 --- a/cpp/daal/src/algorithms/pca/pca_result_fpt.cpp +++ b/cpp/daal/src/algorithms/pca/pca_result_fpt.cpp @@ -38,7 +38,7 @@ namespace interface3 * \param[in] method Computation method */ template -services::Status Result::allocate(const daal::algorithms::Input * input, daal::algorithms::Parameter * parameter, const Method method) +DAAL_EXPORT services::Status Result::allocate(const daal::algorithms::Input * input, daal::algorithms::Parameter * parameter, const Method method) { size_t nComponents = 0; DAAL_UINT64 resultsToCompute = eigenvalue; @@ -74,8 +74,8 @@ services::Status Result::allocate(const daal::algorithms::PartialResult * partia return impl->allocate(partialResult, nComponents, resultsToCompute); } -template services::Status Result::allocate(const daal::algorithms::Input * input, daal::algorithms::Parameter * parameter, - const Method method); +template DAAL_EXPORT services::Status Result::allocate(const daal::algorithms::Input * input, daal::algorithms::Parameter * parameter, + const Method method); template services::Status Result::allocate(const daal::algorithms::PartialResult * partialResult, daal::algorithms::Parameter * parameter, const Method method); diff --git a/cpp/daal/src/algorithms/pca/transform/pca_transform_batch_fpt.cpp b/cpp/daal/src/algorithms/pca/transform/pca_transform_batch_fpt.cpp index 85229f3d1d8..8da10483021 100644 --- a/cpp/daal/src/algorithms/pca/transform/pca_transform_batch_fpt.cpp +++ b/cpp/daal/src/algorithms/pca/transform/pca_transform_batch_fpt.cpp @@ -39,7 +39,7 @@ using namespace daal::services; using namespace daal::data_management; template -Status Result::allocate(const daal::algorithms::Input * input, const daal::algorithms::Parameter * par, const int method) +DAAL_EXPORT services::Status Result::allocate(const daal::algorithms::Input * input, const daal::algorithms::Parameter * par, const int method) { const Input * in = static_cast(input); const Parameter * parameter = static_cast(par); @@ -65,7 +65,8 @@ Status Result::allocate(const daal::algorithms::Input * input, const daal::algor return status; } -template Status Result::allocate(const daal::algorithms::Input * input, const daal::algorithms::Parameter * par, const int method); +template DAAL_EXPORT services::Status Result::allocate(const daal::algorithms::Input * input, const daal::algorithms::Parameter * par, + const int method); } // namespace transform } // namespace pca diff --git a/cpp/daal/src/algorithms/svd/svd_dense_default_batch_fpt.cpp b/cpp/daal/src/algorithms/svd/svd_dense_default_batch_fpt.cpp index 865eb20d6f1..576e942ae7e 100644 --- a/cpp/daal/src/algorithms/svd/svd_dense_default_batch_fpt.cpp +++ b/cpp/daal/src/algorithms/svd/svd_dense_default_batch_fpt.cpp @@ -30,10 +30,10 @@ namespace svd { namespace interface1 { -template services::Status Result::allocate(const daal::algorithms::Input * input, const daal::algorithms::Parameter * parameter, - const int method); -template services::Status Result::allocate(const daal::algorithms::PartialResult * partialResult, - daal::algorithms::Parameter * parameter, const int method); +template DAAL_EXPORT services::Status Result::allocate(const daal::algorithms::Input * input, + const daal::algorithms::Parameter * parameter, const int method); +template DAAL_EXPORT services::Status Result::allocate(const daal::algorithms::PartialResult * partialResult, + daal::algorithms::Parameter * parameter, const int method); template services::Status Result::allocateImpl(size_t m, size_t n); } // namespace interface1 diff --git a/cpp/daal/src/algorithms/svd/svd_dense_default_online_fpt.cpp b/cpp/daal/src/algorithms/svd/svd_dense_default_online_fpt.cpp index dc5c90fdd06..454b77c6159 100644 --- a/cpp/daal/src/algorithms/svd/svd_dense_default_online_fpt.cpp +++ b/cpp/daal/src/algorithms/svd/svd_dense_default_online_fpt.cpp @@ -30,10 +30,10 @@ namespace svd { namespace interface1 { -template Status OnlinePartialResult::allocate(const daal::algorithms::Input * input, const daal::algorithms::Parameter * parameter, - const int method); -template Status OnlinePartialResult::initialize(const daal::algorithms::Input * input, const daal::algorithms::Parameter * parameter, - const int method); +template DAAL_EXPORT services::Status OnlinePartialResult::allocate(const daal::algorithms::Input * input, + const daal::algorithms::Parameter * parameter, const int method); +template DAAL_EXPORT services::Status OnlinePartialResult::initialize(const daal::algorithms::Input * input, + const daal::algorithms::Parameter * parameter, const int method); template Status OnlinePartialResult::addPartialResultStorage(size_t m, size_t n, Parameter & par); } // namespace interface1