Skip to content

Conversation

@vimarsh6739
Copy link
Member

@vimarsh6739 vimarsh6739 commented Jun 16, 2025

@vimarsh6739 vimarsh6739 added forward mode Forward Mode AD reverse mode Reverse Mode AD mlir labels Jun 16, 2025
@vimarsh6739 vimarsh6739 changed the title [DO NOT MERGE] Input activity canonicalizations input activity canonicalization (dup to const) Jun 19, 2025
@vimarsh6739 vimarsh6739 requested a review from wsmoses June 19, 2025 00:10
@vimarsh6739 vimarsh6739 removed the reverse mode Reverse Mode AD label Jun 19, 2025
@vimarsh6739 vimarsh6739 marked this pull request as ready for review June 19, 2025 00:28
@vimarsh6739 vimarsh6739 changed the title input activity canonicalization (dup to const) [MLIR] Forward Mode arg conversion for dup -> const Jun 19, 2025
@vimarsh6739
Copy link
Member Author

@wsmoses can you approve this

Copy link
Member

@wsmoses wsmoses left a comment

Choose a reason for hiding this comment

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

lgtm modulo comment about isZero interface return type

@wsmoses
Copy link
Member

wsmoses commented Aug 2, 2025

also errors here are genuine:

/__w/Enzyme/Enzyme/Enzyme/enzyme/Enzyme/MLIR/Dialect/Ops.cpp:201:10: error: variable 'retActivity' set but not used [-Werror=unused-but-set-variable]
  201 |     auto retActivity = uop.getRetActivity();
      |          ^~~~~~~~~~~

@vimarsh6739
Copy link
Member Author

vimarsh6739 commented Aug 2, 2025

Ah that I can remove (on a side note, it might be a good idea to add that to bazelrc)

vimarsh6739 and others added 8 commits August 2, 2025 00:55
Signed-off-by: Vimarsh Sathia <vsathia2@illinois.edu>
Signed-off-by: Vimarsh Sathia <vimarsh.sathia@gmail.com>
Signed-off-by: Vimarsh Sathia <vimarsh.sathia@gmail.com>
@vimarsh6739 vimarsh6739 added this pull request to the merge queue Aug 2, 2025
Merged via the queue into main with commit c3da306 Aug 2, 2025
29 of 30 checks passed
@giordano giordano deleted the inpfwdactivityopt branch September 18, 2025 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

forward mode Forward Mode AD mlir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants