lenskit / csr

Compressed sparse matrices

Home Page:https://csr.lenskit.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement matrix views for kernels

mdekstrand opened this issue · comments

For some use cases, client code can reduce copying by getting a view of a matrix handle, that is only usable until the handle is released.

We could add a view_handle method that exports such a method.

For debugging purposes, explicitly clearing views when a handle is closed could be useful.