Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions cpp/daal/src/algorithms/dtrees/dtrees_model_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -356,10 +356,10 @@ void setProbabilities(const size_t treeId, const size_t nodeId, const size_t res
const double * const prob);

template <typename ClassOrResponseType>
static services::Status addLeafNodeInternal(const data_management::DataCollectionPtr & serializationData, const size_t treeId, const size_t parentId,
const size_t position, ClassOrResponseType response, double cover, size_t & res,
const data_management::DataCollectionPtr probTbl = data_management::DataCollectionPtr(),
const double * const prob = nullptr, const size_t nClasses = 0)
services::Status addLeafNodeInternal(const data_management::DataCollectionPtr & serializationData, const size_t treeId, const size_t parentId,
const size_t position, ClassOrResponseType response, double cover, size_t & res,
const data_management::DataCollectionPtr probTbl = data_management::DataCollectionPtr(),
const double * const prob = nullptr, const size_t nClasses = 0)
{
const size_t noParent = static_cast<size_t>(-1);
if (prob != nullptr)
Expand Down
4 changes: 2 additions & 2 deletions cpp/daal/src/algorithms/dtrees/dtrees_model_impl_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ bool traverseNodeDF(size_t level, size_t iRowInTable, const DecisionTreeNode * a
typedef services::Collection<size_t> NodeIdxArray;

template <typename OnSplitFunctor, typename OnLeafFunctor>
static bool traverseNodesBF(size_t level, NodeIdxArray & aCur, NodeIdxArray & aNext, const DecisionTreeNode * aNode, OnSplitFunctor & visitSplit,
OnLeafFunctor & visitLeaf)
bool traverseNodesBF(size_t level, NodeIdxArray & aCur, NodeIdxArray & aNext, const DecisionTreeNode * aNode, OnSplitFunctor & visitSplit,
OnLeafFunctor & visitLeaf)
{
for (size_t i = 0; i < aCur.size(); ++i)
{
Expand Down
1 change: 1 addition & 0 deletions cpp/oneapi/dal/backend/primitives/sort/sort_dpc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#pragma clang diagnostic ignored "-Wunused-local-typedef"
#pragma clang diagnostic ignored "-Wsign-compare"
#pragma clang diagnostic ignored "-Wkeyword-macro"
#pragma clang diagnostic ignored "-Wunused-template"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like this warning should be addressed instead of being ignored.

CC @Alexandr-Solovev .

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the only way to address this issue is to create a ticket for DPL team, but it will likely block the current PR. @ethanglaser Could you please create a ticket for DPL team and and a remark here to remove such line when the task is done?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this it outside of our library's scope otherwise I'd address it myself. Will post link to ticket once I create.


// Workaround: some oneTBB versions annotate the override of
// std::exception::what() with __TBB_EXPORTED_METHOD, which on Windows-x86
Expand Down
Loading