Skip to content

Commit

Permalink
Add missing ONEDAL_EXPORT for sparse Logistic Regression (#2864)
Browse files Browse the repository at this point in the history
* Add ONEDAL_EXPORT for sparse method

* Minor
  • Loading branch information
avolkov-intel authored Aug 2, 2024
1 parent 0b26452 commit d993a44
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cpp/oneapi/dal/algo/logistic_regression/detail/infer_ops.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,8 @@ struct infer_ops_dispatcher<host_policy, Float, Method, Task> {
INSTANTIATE(float, method::dense_batch, task::classification)
INSTANTIATE(double, method::dense_batch, task::classification)

INSTANTIATE(float, method::sparse, task::classification)
INSTANTIATE(double, method::sparse, task::classification)

} // namespace v1
} // namespace oneapi::dal::logistic_regression::detail
3 changes: 3 additions & 0 deletions cpp/oneapi/dal/algo/logistic_regression/detail/train_ops.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,8 @@ struct train_ops_dispatcher<Policy, Float, Method, Task> {
INSTANTIATE(float, method::dense_batch, task::classification)
INSTANTIATE(double, method::dense_batch, task::classification)

INSTANTIATE(float, method::sparse, task::classification)
INSTANTIATE(double, method::sparse, task::classification)

} // namespace v1
} // namespace oneapi::dal::logistic_regression::detail

0 comments on commit d993a44

Please sign in to comment.