Skip to content

Commit

Permalink
Log instance creation.
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottslaughter committed Apr 3, 2024
1 parent 66705df commit 20d5013
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mapper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@ void FuzzMapper::random_mapping(const MapperContext ctx, RngChannel &rng,
log_map.fatal() << "random_mapping: Failed to create instance";
abort();
}
log_map.debug() << "random_mapping: Created instanced (forced)";
} else {
bool created;
if (!runtime->find_or_create_physical_instance(ctx, memory, constraints, regions,
Expand All @@ -381,6 +382,7 @@ void FuzzMapper::random_mapping(const MapperContext ctx, RngChannel &rng,
log_map.fatal() << "random_mapping: Failed to create instance";
abort();
}
log_map.debug() << "random_mapping: Created instance? " << created;
}
output.push_back(instance);
}
Expand Down

0 comments on commit 20d5013

Please sign in to comment.