Skip to content

Commit

Permalink
Adding missing typename (#1191)
Browse files Browse the repository at this point in the history
Fixes clang build failures.
  • Loading branch information
chsigg authored Nov 29, 2023
1 parent eb01d54 commit 56fc3df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/41_fused_multi_head_attention/kernel_forward.h
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ struct AttentionKernel {

auto prologueV = [&](int blockN) {
typename MM1::Mma::IteratorB iterator_V(
typename MM1::IteratorB::Params{MM1::LayoutB(p.v_strideM)},
typename MM1::IteratorB::Params{typename MM1::LayoutB(p.v_strideM)},
p.value_ptr + iter_key_start * p.v_strideM,
{problem_size_1_k, problem_size_1_n},
thread_id(),
Expand Down Expand Up @@ -997,7 +997,7 @@ struct AttentionKernel {
}

typename MM1::Mma::IteratorB iterator_V(
typename MM1::IteratorB::Params{MM1::LayoutB(p.v_strideM)},
typename MM1::IteratorB::Params{typename MM1::LayoutB(p.v_strideM)},
p.value_ptr + iter_key_start * p.v_strideM,
{problem_size_1_k, problem_size_1_n},
thread_id(),
Expand Down

0 comments on commit 56fc3df

Please sign in to comment.