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

[BUGFix] Reorder GetSmemSize Related API #1683

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

LeiWang1999
Copy link

This pull request involves significant changes to the struct GemmPipelineAGmemBGmemCRegV1DefaultPolicy in the file include/ck_tile/ops/gemm/pipeline/gemm_pipeline_agmem_bgmem_creg_v1_default_policy.hpp. The changes mainly focus on the reintroduction of several methods:

  • GetSmemSizeA: Calculates the shared memory size for matrix A.
  • GetSmemSizeB: Calculates the shared memory size for matrix B.
  • GetSmemSize: Computes the total shared memory size by summing the sizes of matrices A and B.
  • GetSmemPackA: Determines the packing size for matrix A based on the vector load size.
  • GetSmemPackB: Determines the packing size for matrix B based on the vector load size.

Currently they're put only when the 3d+pad descriptor is enabled.

@aosewski aosewski self-requested a review November 25, 2024 09:53
Copy link
Collaborator

@aosewski aosewski left a comment

Choose a reason for hiding this comment

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

Need CI to pass all tests. Anyway good catch! Thanks. Will create a separate PR with your changes as you're not a member of ROCm organization.

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