Returns a single-row data.frame describing whether x is
currently uploaded to a GPU backend and, if so, which backend holds
it and whether that binding is still live (the device buffer still
exists).
Value
A data.frame with one row and columns:
- backend
Character. Backend name, or
NAwhen not resident.- resident_key
Character. Internal device buffer key, or
NA.- pinned_backend
Character. Backend name when the binding is confirmed live, otherwise
NA.- live
Logical.
TRUEwhen the backend still holds the buffer identified byresident_key.
Examples
m <- adgeMatrix(matrix(1:4, 2, 2))
amatrix_residency_info(m)
#> backend resident_key pinned_backend live
#> 1 <NA> <NA> <NA> FALSE