a973248195df4b8426ffd3a53ca3c3c82aeb511d,nn_dataflow/tests/loop_blocking_test/test_loop_blocking.py,TestLoopBlocking,test_gen_loopblocking_ntops,#TestLoopBlocking#,140
Before Change
def test_gen_loopblocking_ntops(self):
""" gen_loopblocking ntops. """
tops = list(loop_blocking.gen_loopblocking(self.nld["BASE"],
self.resource["LG"],
self.cost, 1,
self.options["NTOPS"]))
cost_prev = -float("inf")
After Change
acc_dict.get(keys)))
acc_dict[keys] = sdict
def test_gen_loopblocking_ntops(self):
""" gen_loopblocking ntops. """
tops = list(self._gen_loopblocking(rsrckey="LG", optkey="NTOPS"))
cost_prev = -float("inf")
for lbs in self._gen_loopblocking(rsrckey="LG"):
if not lbs.is_valid():
continue
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 10
Instances
Project Name: stanford-mast/nn_dataflow
Commit Name: a973248195df4b8426ffd3a53ca3c3c82aeb511d
Time: 2017-11-05
Author: mgao12@stanford.edu
File Name: nn_dataflow/tests/loop_blocking_test/test_loop_blocking.py
Class Name: TestLoopBlocking
Method Name: test_gen_loopblocking_ntops
Project Name: stanford-mast/nn_dataflow
Commit Name: a973248195df4b8426ffd3a53ca3c3c82aeb511d
Time: 2017-11-05
Author: mgao12@stanford.edu
File Name: nn_dataflow/tests/loop_blocking_test/test_loop_blocking.py
Class Name: TestLoopBlocking
Method Name: test_gen_loopblocking_mp
Project Name: stanford-mast/nn_dataflow
Commit Name: a973248195df4b8426ffd3a53ca3c3c82aeb511d
Time: 2017-11-05
Author: mgao12@stanford.edu
File Name: nn_dataflow/tests/loop_blocking_test/test_loop_blocking.py
Class Name: TestLoopBlocking
Method Name: test_gen_loopblocking_byp_sol
Project Name: stanford-mast/nn_dataflow
Commit Name: a973248195df4b8426ffd3a53ca3c3c82aeb511d
Time: 2017-11-05
Author: mgao12@stanford.edu
File Name: nn_dataflow/tests/loop_blocking_test/test_loop_blocking.py
Class Name: TestLoopBlocking
Method Name: test_gen_loopblocking_ntops
Project Name: stanford-mast/nn_dataflow
Commit Name: a973248195df4b8426ffd3a53ca3c3c82aeb511d
Time: 2017-11-05
Author: mgao12@stanford.edu
File Name: nn_dataflow/tests/loop_blocking_test/test_loop_blocking.py
Class Name: TestLoopBlocking
Method Name: test_gen_loopblocking_no_eqv