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

disable atomicAdd for C Output Vector Length = 1 with 16bit data type #1737

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

Conversation

zjing14
Copy link
Contributor

@zjing14 zjing14 commented Dec 10, 2024

No description provided.

@zjing14
Copy link
Contributor Author

zjing14 commented Dec 10, 2024

@aska-0096 @carlushuang

@zjing14
Copy link
Contributor Author

zjing14 commented Dec 13, 2024

@bartekxk

@@ -153,6 +158,11 @@ struct DeviceGemmMultiD_Xdl_CShuffle_V3 : public DeviceGemmMultipleDSplitK<ALayo
throw std::runtime_error("wrong! GridwiseGemm has invalid setting");
}

if((!IsHWSupportAtomicAdd) && (arg.KBatch > 1))
Copy link
Contributor

Choose a reason for hiding this comment

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

  1. Can we move it to IsSupported?
  2. (CDEShuffleBlockTransferScalarPerVectors{}[I0] > 1) || (sizeof(CDataType) > 2); Can we improve this condition? Types smaller than 2 are not supported even if ScalarPerVector is divisible by 2 and bf16 is supported only for gfx942

Copy link
Contributor

Choose a reason for hiding this comment

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

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