Skip to content

Conversation

@LoserCheems
Copy link
Collaborator

Simplifies the template signature by removing the kNThreads parameter that was not being used within the struct definition, reducing template complexity without affecting functionality.

Simplifies the template signature by removing the kNThreads parameter that was not being used within the struct definition, reducing template complexity without affecting functionality.
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR simplifies the DynamicMask template by removing the unused kNThreads parameter, streamlining its signature without altering behavior.

  • Removed kNThreads template parameter from DynamicMask
  • Simplified template instantiation requirements
Comments suppressed due to low confidence (2)

csrc/src/mask.h:23

  • Update any comments or documentation that reference the kNThreads parameter to reflect its removal from the DynamicMask template signature.
template <bool Is_causal>

csrc/src/mask.h:23

  • Ensure that all usages and specializations of DynamicMask elsewhere in the codebase have been updated to remove the kNThreads template argument, otherwise builds will fail.
template <bool Is_causal>

@LoserCheems LoserCheems merged commit 8eeb13d into main Jun 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants