Feature Request: Templated from matrix cl with explicit return type and memory leak fix in pinned matrix
Feature Request: Templated from matrix cl with explicit return type and memory leak fix in pinned matrix: a task in LegoFlow-SWE (Harbor dataset). Currently, the from matrix cl function automatically returns an Eigen::Matrix of the appropriate dynamic size. However, users often need to retrieve…
The task
Currently, the `from_matrix_cl` function automatically returns an `Eigen::Matrix` of the appropriate dynamic size. However, users often need to retrieve data as a scalar (for 1x1 matrices), a `std::vector` (for single-column results), or other types. The lack of a templated interface forces manual conversions and…
Part of Lego-X/LegoFlow-SWE.