In get_topo_order a node get prioritized if it makes another node free. This also holds for the identity matrix. In most of our code generators the I matrix is not explicitly store. Therefore, I think get_topo_order should not give priority to nodes that "frees" the identity matrix, i.e., no bonus if the node to be freed is I.
In
get_topo_order
a node get prioritized if it makes another node free. This also holds for the identity matrix. In most of our code generators theI
matrix is not explicitly store. Therefore, I thinkget_topo_order
should not give priority to nodes that "frees" the identity matrix, i.e., no bonus if the node to be freed isI
.