Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor CircularBufferLoopCloner #2823

Merged
merged 2 commits into from
Aug 27, 2024
Merged

Refactor CircularBufferLoopCloner #2823

merged 2 commits into from
Aug 27, 2024

Conversation

rdspring1
Copy link
Collaborator

@rdspring1 rdspring1 commented Aug 21, 2024

This PR refactors CircularBufferLoopCloner to avoid clang-tidy issues in #2773.

  • Track cloned for loop instead of its Scope
  • Add virtual methods processExpr and processForLoop for TmaCircularBufferLoopCloner to override.

Details:

  Error (CLANGTIDY) [bugprone-parent-virtual-call,-warnings-as-errors]
    qualified name 'kir::IrVisitor::dispatch' refers to a member overridden in
    subclass; did you mean 'nvfuser::CircularBufferLoopCloner'?

@rdspring1
Copy link
Collaborator Author

!build

@rdspring1 rdspring1 merged commit 742f24c into main Aug 27, 2024
36 checks passed
@rdspring1 rdspring1 deleted the cb_pass_refactor branch August 27, 2024 15:59
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