Skip to content

Conversation

joyalbin
Copy link

@joyalbin joyalbin commented Sep 10, 2025

This PR is to enable warnings as error on cutlass build.
All the current compilation errors are fixed to enable
this feature.

auto shape_scale = cute::make_shape(dq_mn_size, scale_k, L);
auto shape_zero = [&]() {
if constexpr (is_tuple_v<std::remove_reference_t<decltype(cute::get<1>(stride_Z))>>) {
auto shape_zero = [&, stride_Z_ref = std::ref(stride_Z)]() {

Choose a reason for hiding this comment

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

I prefer a solution without std::ref. Possible option: move the is_tuple_v out of the lambda and assign to variable.

Copy link
Author

Choose a reason for hiding this comment

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

Ok, We will handle this review comment along with PR #502 as are closing this PR #499

@joyalbin
Copy link
Author

Closing this as will continue with another PR with #502 with all the fixes.

@joyalbin joyalbin closed this Sep 12, 2025
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