-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deprecate KOKKOS_CUSPARSE_SAFE_CALL -> KOKKOSPARSE_IMPL_CUSPARSE_SAFE_CALL #2426
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you paste the command you used for the search and replace?
ArrayType& operator=(const ArrayType& rhs_) { | ||
if (this != &rhs_) { | ||
for (size_type i = 0; i < MAX_VEC_SIZE; ++i) { | ||
m_data[i] = rhs_.m_data[i]; | ||
} | ||
ArrayType &operator=(const ArrayType &rhs_) { | ||
if (this != &rhs_) { | ||
for (size_type i = 0; i < MAX_VEC_SIZE; ++i) { | ||
m_data[i] = rhs_.m_data[i]; | ||
} | ||
return *this; | ||
} | ||
return *this; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what happened here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, maybe this is a clang-format/git artifact
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes this is formatting related, I’m not sure why it wasn’t formatted before.
Something strange going on in the mi210 without TPLs, the tests are all reporting a segfault. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, this looks reasonable to me.
As mentioned by Jacob, have the command line/script in the PR description would be a good idea : )
I used Visual Studio Code’s global search/replace, except for the area where I implemented the deprecation macro. |
// The macro below defines is the public interface for the safe cusparse calls. | ||
// The functions themselves are protected by impl namespace. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the comment should be revised.
I could not find any documentation of the macro as part of the public interface. Do you know of anyone using it? Do you want to have the old one around but emit a deprecation warning instead of removing it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I somehow missed pushing the deprecation part, it's in now.
Looks like Trilinos has one use in Ifpack2: |
d8bac27
to
be73bc1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good. Lets see how much trilinos is going to complain
…_CALL Signed-off-by: Carl Pearson <[email protected]>
Fix for #2371