KULeuven-MICAS / zigzag-imc

HW accelerator mapping optimization framework for in-memory computing
BSD 3-Clause "New" or "Revised" License
16 stars 2 forks source link

A quick fix on spatial_mapping_dict_int inconsistance #2

Closed JiacongSun closed 11 months ago

JiacongSun commented 11 months ago

Fix the inconsistency in the spatial_mapping_dict_intwithin the cost model when spatial mapping is user-provided and is bigger than the layer size. Now, the spatial loop dimension's size will be upper-bounded to the layer dimension size, even if it is user-provided.