Work

Removal of the UVM Requirement from Tpetra: MultiVector and BlockMultiVector.

Year: 2022
Type: article
Abstract: We are removing the requirement for UVM usage in Tpetra• Motivation:• New platforms may or may not have reliable UVM-like capabilities • Debugging application and system issues with UVM is difficult • Explicit memory management should avoid performance surprises• Timeline: • Tpetra MultiVector and BlockMultiVector nearly complete; PR expected in February • Tpetra CrsMatrix/CrsGraph underway; expect completion in March • Downstream Trilinos packages underway; expect completion in FY21 • Trilinos will still work with UVM enabled • But applications will need to remove use of deprecated code and behavior Key changes for Tpetra::MultiVector users (details to follow) 1. Capture host and device views in separate scopes • Don't hold raw pointers to multivector's data • Let views go out of scope as soon as you're done working with them 2. Separate scope for local operations and Tpetra operations on an object • Tpetra (and, indeed, Trilinos) operations can choose where to access data 3. Indicate intended usage of views • ReadOnly, ReadWrite, WriteOnly 4. Reduce switching between host and device accesses • Be aware of data synchronization 5. Update code to remove use of deprecated interfaces Expect similar changes for CrsGraph / CrsMatrix
Language: English
Open Access status: green
OpenAlex ID: W4287315495
FWCI:
Cites:
Cited by:
Related to: 10