From 2f0d4b274a6928377b8763cf392c6c6de679b22a Mon Sep 17 00:00:00 2001 From: icfaust Date: Fri, 21 Feb 2025 15:50:11 -0800 Subject: [PATCH] move namespaces --- .../assoc_rules_apriori_batch_fpt_dispatcher.cpp | 7 ++++++- .../covariance_csr_fast_batch_fpt_dispatcher.cpp | 9 +++++++-- .../covariance_csr_fast_online_fpt_dispatcher.cpp | 10 +++++++--- ...covariance_csr_singlepass_batch_fpt_dispatcher.cpp | 10 +++++++--- .../covariance_csr_sum_batch_fpt_dispatcher.cpp | 10 +++++++--- .../covariance_csr_sum_online_fpt_dispatcher.cpp | 10 +++++++++- .../covariance_dense_default_batch_fpt_dispatcher.cpp | 11 ++++++++--- ...covariance_dense_default_online_fpt_dispatcher.cpp | 9 ++++++++- ...variance_dense_singlepass_batch_fpt_dispatcher.cpp | 10 +++++++--- ...ariance_dense_singlepass_online_fpt_dispatcher.cpp | 10 +++++++--- .../covariance_dense_sum_online_fpt_dispatcher.cpp | 9 +++++++-- 11 files changed, 80 insertions(+), 25 deletions(-) diff --git a/cpp/daal/src/algorithms/assocrules/assoc_rules_apriori_batch_fpt_dispatcher.cpp b/cpp/daal/src/algorithms/assocrules/assoc_rules_apriori_batch_fpt_dispatcher.cpp index 0ee2589e824..cf8723241d3 100644 --- a/cpp/daal/src/algorithms/assocrules/assoc_rules_apriori_batch_fpt_dispatcher.cpp +++ b/cpp/daal/src/algorithms/assocrules/assoc_rules_apriori_batch_fpt_dispatcher.cpp @@ -30,7 +30,12 @@ namespace algorithms { __DAAL_INSTANTIATE_DISPATCH_CONTAINER(association_rules::BatchContainer, batch, DAAL_FPTYPE, association_rules::apriori) +namespace association_rules +{ +namespace interface1 +{ template class Batch; - +} // namespace interface1 +} // namespace association_rules } // namespace algorithms } // namespace daal diff --git a/cpp/daal/src/algorithms/covariance/covariance_csr_fast_batch_fpt_dispatcher.cpp b/cpp/daal/src/algorithms/covariance/covariance_csr_fast_batch_fpt_dispatcher.cpp index 4dd7a22e2f6..c5ead00ecbe 100644 --- a/cpp/daal/src/algorithms/covariance/covariance_csr_fast_batch_fpt_dispatcher.cpp +++ b/cpp/daal/src/algorithms/covariance/covariance_csr_fast_batch_fpt_dispatcher.cpp @@ -29,7 +29,12 @@ namespace algorithms { __DAAL_INSTANTIATE_DISPATCH_CONTAINER(covariance::BatchContainer, batch, DAAL_FPTYPE, covariance::fastCSR) +namespace covariance +{ +namespace interface1 +{ template class Batch; - -} +} // namespace interface1 +} // namespace covariance +} // namespace algorithms } // namespace daal diff --git a/cpp/daal/src/algorithms/covariance/covariance_csr_fast_online_fpt_dispatcher.cpp b/cpp/daal/src/algorithms/covariance/covariance_csr_fast_online_fpt_dispatcher.cpp index 7a46f289c7e..02aa89380f0 100644 --- a/cpp/daal/src/algorithms/covariance/covariance_csr_fast_online_fpt_dispatcher.cpp +++ b/cpp/daal/src/algorithms/covariance/covariance_csr_fast_online_fpt_dispatcher.cpp @@ -28,8 +28,12 @@ namespace daal namespace algorithms { __DAAL_INSTANTIATE_DISPATCH_CONTAINER(covariance::OnlineContainer, online, DAAL_FPTYPE, covariance::fastCSR) - +namespace covariance +{ +namespace interface1 +{ template class Online; - -} +} // namespace interface1 +} // namespace covariance +} // namespace algorithms } // namespace daal diff --git a/cpp/daal/src/algorithms/covariance/covariance_csr_singlepass_batch_fpt_dispatcher.cpp b/cpp/daal/src/algorithms/covariance/covariance_csr_singlepass_batch_fpt_dispatcher.cpp index 57d00e57fb9..9e127f6c857 100644 --- a/cpp/daal/src/algorithms/covariance/covariance_csr_singlepass_batch_fpt_dispatcher.cpp +++ b/cpp/daal/src/algorithms/covariance/covariance_csr_singlepass_batch_fpt_dispatcher.cpp @@ -28,8 +28,12 @@ namespace daal namespace algorithms { __DAAL_INSTANTIATE_DISPATCH_CONTAINER(covariance::BatchContainer, batch, DAAL_FPTYPE, covariance::singlePassCSR) - +namespace covariance +{ +namespace interface1 +{ template class Batch; - -} +} // namespace interface1 +} // namespace covariance +} // namespace algorithms } // namespace daal diff --git a/cpp/daal/src/algorithms/covariance/covariance_csr_sum_batch_fpt_dispatcher.cpp b/cpp/daal/src/algorithms/covariance/covariance_csr_sum_batch_fpt_dispatcher.cpp index 3390d32ce5b..3682d7f58d5 100644 --- a/cpp/daal/src/algorithms/covariance/covariance_csr_sum_batch_fpt_dispatcher.cpp +++ b/cpp/daal/src/algorithms/covariance/covariance_csr_sum_batch_fpt_dispatcher.cpp @@ -28,8 +28,12 @@ namespace daal namespace algorithms { __DAAL_INSTANTIATE_DISPATCH_CONTAINER(covariance::BatchContainer, batch, DAAL_FPTYPE, covariance::sumCSR) - +namespace covariance +{ +namespace interface1 +{ template class Batch; - -} +} // namespace interface1 +} // namespace covariance +} // namespace algorithms } // namespace daal diff --git a/cpp/daal/src/algorithms/covariance/covariance_csr_sum_online_fpt_dispatcher.cpp b/cpp/daal/src/algorithms/covariance/covariance_csr_sum_online_fpt_dispatcher.cpp index 1cef7b799e2..6ae082bcc4e 100644 --- a/cpp/daal/src/algorithms/covariance/covariance_csr_sum_online_fpt_dispatcher.cpp +++ b/cpp/daal/src/algorithms/covariance/covariance_csr_sum_online_fpt_dispatcher.cpp @@ -28,5 +28,13 @@ namespace daal namespace algorithms { __DAAL_INSTANTIATE_DISPATCH_CONTAINER(covariance::OnlineContainer, online, DAAL_FPTYPE, covariance::sumCSR) -} + +namespace covariance +{ +namespace interface1 +{ +template class Online; +} // namespace interface1 +} // namespace covariance +} // namespace algorithms } // namespace daal diff --git a/cpp/daal/src/algorithms/covariance/covariance_dense_default_batch_fpt_dispatcher.cpp b/cpp/daal/src/algorithms/covariance/covariance_dense_default_batch_fpt_dispatcher.cpp index 811d446e54e..b414389a03e 100644 --- a/cpp/daal/src/algorithms/covariance/covariance_dense_default_batch_fpt_dispatcher.cpp +++ b/cpp/daal/src/algorithms/covariance/covariance_dense_default_batch_fpt_dispatcher.cpp @@ -29,7 +29,12 @@ namespace algorithms { __DAAL_INSTANTIATE_DISPATCH_CONTAINER(covariance::BatchContainer, batch, DAAL_FPTYPE, covariance::defaultDense) -template class Batch; +} // namespace interface1 +} // namespace covariance +} // namespace algorithms } // namespace daal diff --git a/cpp/daal/src/algorithms/covariance/covariance_dense_default_online_fpt_dispatcher.cpp b/cpp/daal/src/algorithms/covariance/covariance_dense_default_online_fpt_dispatcher.cpp index 06752e02b2d..f50222dcfd4 100644 --- a/cpp/daal/src/algorithms/covariance/covariance_dense_default_online_fpt_dispatcher.cpp +++ b/cpp/daal/src/algorithms/covariance/covariance_dense_default_online_fpt_dispatcher.cpp @@ -28,5 +28,12 @@ namespace daal namespace algorithms { __DAAL_INSTANTIATE_DISPATCH_CONTAINER(covariance::OnlineContainer, online, DAAL_FPTYPE, covariance::defaultDense) -} +namespace covariance +{ +namespace interface1 +{ +template class Online; +} // namespace interface1 +} // namespace covariance +} // namespace algorithms } // namespace daal diff --git a/cpp/daal/src/algorithms/covariance/covariance_dense_singlepass_batch_fpt_dispatcher.cpp b/cpp/daal/src/algorithms/covariance/covariance_dense_singlepass_batch_fpt_dispatcher.cpp index d1aa2feafcd..1af0785ba16 100644 --- a/cpp/daal/src/algorithms/covariance/covariance_dense_singlepass_batch_fpt_dispatcher.cpp +++ b/cpp/daal/src/algorithms/covariance/covariance_dense_singlepass_batch_fpt_dispatcher.cpp @@ -28,8 +28,12 @@ namespace daal namespace algorithms { __DAAL_INSTANTIATE_DISPATCH_CONTAINER(covariance::BatchContainer, batch, DAAL_FPTYPE, covariance::singlePassDense) - +namespace covariance +{ +namespace interface1 +{ template class Batch; - -} +} // namespace interface1 +} // namespace covariance +} // namespace algorithms } // namespace daal diff --git a/cpp/daal/src/algorithms/covariance/covariance_dense_singlepass_online_fpt_dispatcher.cpp b/cpp/daal/src/algorithms/covariance/covariance_dense_singlepass_online_fpt_dispatcher.cpp index f5fac1f52a8..45dd51dc064 100644 --- a/cpp/daal/src/algorithms/covariance/covariance_dense_singlepass_online_fpt_dispatcher.cpp +++ b/cpp/daal/src/algorithms/covariance/covariance_dense_singlepass_online_fpt_dispatcher.cpp @@ -28,8 +28,12 @@ namespace daal namespace algorithms { __DAAL_INSTANTIATE_DISPATCH_CONTAINER(covariance::OnlineContainer, online, DAAL_FPTYPE, covariance::singlePassDense) - +namespace covariance +{ +namespace interface1 +{ template class Online; - -} +} // namespace interface1 +} // namespace covariance +} // namespace algorithms } // namespace daal diff --git a/cpp/daal/src/algorithms/covariance/covariance_dense_sum_online_fpt_dispatcher.cpp b/cpp/daal/src/algorithms/covariance/covariance_dense_sum_online_fpt_dispatcher.cpp index f5cd288e606..2226c9a9dea 100644 --- a/cpp/daal/src/algorithms/covariance/covariance_dense_sum_online_fpt_dispatcher.cpp +++ b/cpp/daal/src/algorithms/covariance/covariance_dense_sum_online_fpt_dispatcher.cpp @@ -29,7 +29,12 @@ namespace algorithms { __DAAL_INSTANTIATE_DISPATCH_CONTAINER(covariance::OnlineContainer, online, DAAL_FPTYPE, covariance::sumDense) +namespace covariance +{ +namespace interface1 +{ template class Online; - -} +} // namespace interface1 +} // namespace covariance +} // namespace algorithms } // namespace daal