d19d3fcccc2c30dc3dbc6153a5875ba81cfbff37,nn_dataflow/Scheduling.py,Scheduling,schedule_search_per_node,#Scheduling#Any#Any#Any#,186
Before Change
yield t
if options.nprocesses > 1:
pool = Pool(processes=options.nprocesses)
apply_func = pool.apply_async
retrieve_func = retrieve_result()
else:
pool = None
apply_func = apply
After Change
for nested_loop_desc in map_strategy.gen_nested_loop_desc():
// Explore loop blocking schemes.
for lbs in LoopBlocking.gen_loopblocking(
nested_loop_desc, resource, self.cost, p_occ, options):
if lbs.is_valid():
top_lbs_list.append(lbs)
self.pernode_sched_cache[cache_key] = top_lbs_list
return top_lbs_list
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: stanford-mast/nn_dataflow
Commit Name: d19d3fcccc2c30dc3dbc6153a5875ba81cfbff37
Time: 2017-05-10
Author: mgao12@stanford.edu
File Name: nn_dataflow/Scheduling.py
Class Name: Scheduling
Method Name: schedule_search_per_node
Project Name: danforthcenter/plantcv
Commit Name: e628b2e6c566b9dd70d8eab50c00df23bb0cecea
Time: 2020-08-17
Author: noahfahlgren@gmail.com
File Name: plantcv/parallel/multiprocess.py
Class Name:
Method Name: multiprocess
Project Name: deepchem/deepchem
Commit Name: 3b3a06ad8402079c2d18718349d5f0f212ac7b81
Time: 2020-12-11
Author: nfrey213@gmail.com
File Name: deepchem/feat/base_classes.py
Class Name: ComplexFeaturizer
Method Name: featurize