Skip to content

Conversation

@jakpiase
Copy link
Contributor

@jakpiase jakpiase commented Dec 3, 2025

This PR fixes a bug of inconsistent behavior of FixedVectorSize parameter inside CK Tile Convolutions and was discovered while porting convolution instances from old ck to ck tile. This parameter is used to disable automatic vectorsize selection and allow kernel user to specify some arbitral size of vectorloads.
Current behavior is that: gemm_pipeline_problem.hpp uses FixedVectorSize, but we were lacking the enforcing if statement inside universal gemm policy, which caused some part of the code to use automatic vectorload size selection, and the other part of code to use the arbitrary vectorload size, which was causing undefined behavior of some kernels and compilation errors for others, since the tile shapes were inconsistent. I have checked the behavior of this change on ckTileProfiler branch and it works for all cases tested there, but we definitely should create some tests to allow early detection and avoid that kind of bugs in the future.

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.

3 participants