-
Notifications
You must be signed in to change notification settings - Fork 578
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
Tpetra: Why remove instead of deprecate getLocalRowView? #9082
Comments
@trilinos/tpetra |
Removing without deprecation was likely a mistake. I'll restore it this afternoon unless there is a serious problem that led to the removal. Thanks for the report; sorry for the inconvenience. |
@tcfisher #9084 restores the missing functions. Note, however, that these functions will be deprecated.
you should do
or
The access tag says how you intend to use the returned view -- as read-only (const) data or read-write (non-const) data. Deprecated function getLocalBlock, getLocalRowView and getGlobalRowViews were returning host data. Please let me know if you need device versions of getLocalBlock. Or if you have suggestions for better block interfaces, let us know. Note that similar changes will happen for BlockCrsMatrix. @kyungjoo-kim is working on BlockCrsMatrix now. |
Thanks @kddevin, we will try to transition to the new interface soon. We were only using this on the host. |
Automatically Merged using Trilinos Pull Request AutoTester PR Title: Tpetra: restore deprecated BlockMultiVector and BlockVector functions for #9082 PR Author: kddevin
Fixed by #9084 |
Question
@trilinos/tpetra
@kddevin
@ccober6
The commit, 34a0760, has broken SPARC because SPARC uses getLocalRowView from TpetraBlockVector and TpetraBlockCrs. A lot of code was moved to deprecated when new interfaces were added. Why wasn't this made deprecated instead of removed?
What is the correct translation to transition from getLocalRowView to getBlock?
Thanks,
Travis
The text was updated successfully, but these errors were encountered: