HF RL Explorer

a = Eigen::MatrixXd::Ones(rows, cols);

a = Eigen::MatrixXd::Ones(rows, cols);: a task in LegoFlow-SWE (Harbor dataset). The goal is to allow matrix cl to reuse host-allocated memory directly on shared-memory devices, avoiding the copy. For const inputs and devices without shared memory, existing copy behavior must remain unchanged.

The task

The goal is to allow `matrix_cl` to reuse host-allocated memory directly on shared-memory devices, avoiding the copy. For const inputs and devices without shared memory, existing copy behavior must remain unchanged.

Part of Lego-X/LegoFlow-SWE.