NVlabs / timeloop

Timeloop performs modeling, mapping and code-generation for tensor algebra workloads on various accelerator architectures.
https://timeloop.csail.mit.edu/
BSD 3-Clause "New" or "Revised" License
336 stars 102 forks source link

Checks for unknown dataspace & unknown dimension in Model #256

Open tanner-andrulis opened 7 months ago

tanner-andrulis commented 7 months ago

Multiple students in class have had "what() map::at" errors because they misspell a dimension name or dataspace name. The mapper checks for this and gives a descriptive error (e.g., a message saying that Timeloop couldn't parse a "keep" list because it doesn't recognize "Ouptus" as a dimension). We should have these checks in the model as well.