Skip to content

Commit

Permalink
Remove max size assert from Anderson2021 (#8253)
Browse files Browse the repository at this point in the history
Fixes #8252
  • Loading branch information
jansel authored Jun 2, 2024
1 parent a9b8fbf commit 7cf2951
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/autoschedulers/anderson2021/LoopNest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1565,12 +1565,6 @@ int64_t LoopNest::points_accessed_per_thread(
int64_t num_points = 1;
for (int i = 0; i < producer->dimensions; i++) {
num_points *= bounds->region_required(i).extent();

// If the min is >= 100000, there's a good chance that the bounds are
// uninitialized, indicating a bug
internal_assert(std::abs(bounds->region_required(i).min()) < 100000)
<< "region_required min = " << std::abs(bounds->region_required(i).min())
<< "; region_required max = " << std::abs(bounds->region_required(i).max());
if (verbose) {
aslog(2) << "region_required(" << i << ") = " << bounds->region_required(i).extent() << "; ";
}
Expand Down

0 comments on commit 7cf2951

Please sign in to comment.