1. apply pseudo code
2. create compute_map and node_mem in new method
New Updates
1. Call the new method in summary_memory
2. Add new print line for minimum peak
3. Use fgraph.nodes as inputs
fix small bugs
Added to test to determine the behavior of the BLAS and intialize the memory as needed to avoid unexpected NaN's.
Increased the version in CGemv::c_code_cache_version.
Calculate minimum peak for each fgraph and store the max value
Correct the way I was calling the __init__ functions on the parent classes of CGemv and updated associated tests to always use the fix for issue 1569.
Fixed pep8 issues.
Moved code that determines whether the memory initialization is necessary to a function that ensures the code is only executed once.
fix bugs
1. remove the best order, cuz we won't use it now.
2. move the count_minimum_peak to the right place
fix bugs
1. move count_minimum_peak in profile_memory
2. use nodes_mem in fct
fix bugs
convert set into list for node_list
fix some small bugs
try to solve Stop Interaion Error
small mistakes
small mistakes, sorry for this
fix a bug of algo
in previous version the memlist will store the current_mem if it's 0, but we don't need that value, so I just remove it.
make order index didn't run on 0
check node state updates
the error is mainly caused by the check node is not work well
fix NameError
fix bugs
1. make global variables correctly
2. use fgraph.apply_nodes replace the previous fgraph.nodes