Skip to content

Conversation

@Lunderberg
Copy link
Contributor

A PrimFunc may contain transformations that are not affine, or that are not recognizable as being affine. Prior to this commit, this produced a LOG(WARNING) stating that this was an error in the index analysis. Because this is the expected behavior for these functions, this commit updates the message to instead write to DLOG(INFO).

The other uses of LOG(WARNING) inside layout_transformation.cc are kept as-is, as they relate to limitations of the analysis, rather than being a statement about the analyzed PrimFunc.

A `PrimFunc` may contain transformations that are not affine, or that
are not recognizable as being affine.  Prior to this commit, this
produced a `LOG(WARNING)` stating that this was an error in the index
analysis.  Because this is the expected behavior for these functions,
this commit updates the message to instead write to `DLOG(INFO)`.

The other uses of `LOG(WARNING)` inside `layout_transformation.cc` are
kept as-is, as they relate to limitations of the analysis, rather than
being a statement about the analyzed `PrimFunc`.
Copy link
Contributor

@quic-sanirudh quic-sanirudh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks.

@quic-sanirudh quic-sanirudh merged commit ea329cb into apache:unity Sep 27, 2023
@Lunderberg Lunderberg deleted the unity_analysis_remove_warning_for_non_affine branch September 27, 2023 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants