hipBLASLt icon indicating copy to clipboard operation
hipBLASLt copied to clipboard

Disable GSU code when GSO=0

Open AlexBrownAMD opened this issue 9 months ago • 4 comments

GSU=0 should disable all GSU code. This change updates some sections of code that were still generating GSU-related code when GSU was disabled.

AlexBrownAMD avatar Apr 14 '25 16:04 AlexBrownAMD

I tried BiasSrc: A and B. Everything is fine.

hliuca avatar Apr 16 '25 22:04 hliuca

The purpose of GSU=0 still keep GSU codes is we want to reduce the number of kernels. @KKyang Did this impact anything if without this change?

jichangjichang avatar Apr 24 '25 01:04 jichangjichang

The purpose of GSU=0 still keep GSU codes is we want to reduce the number of kernels. @KKyang Did this impact anything if without this change?

Yes, we need the ability to disable GSU code since it is not compatible with StreamK code. Without this change, stream-k kernels with epilogues fail to generate due to some extra GSU code being added. If GSU=0, there should not be any GSU code present.

AlexBrownAMD avatar Apr 24 '25 15:04 AlexBrownAMD

Or If GSU=0 is only used for StreamK case, please reject solution for GSU=0 + StreamK=False.

Added a reject condition to require either GSU or StreamK to be enabled

AlexBrownAMD avatar Apr 24 '25 16:04 AlexBrownAMD

Merged latest changes from develop

AlexBrownAMD avatar Apr 30 '25 23:04 AlexBrownAMD