Skip to content

Commit

Permalink
[AMD][CI/Build] Disambiguation of the function call for ROCm 6.2 head…
Browse files Browse the repository at this point in the history
…ers compatibility (vllm-project#7477)

Co-authored-by: Charlie Fu <[email protected]>
  • Loading branch information
2 people authored and omrishiv committed Aug 26, 2024
1 parent fbe9f18 commit 2a1adda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csrc/attention/attention_utils.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ inline __device__ float qk_dot_(const Vec (&q)[N], const Vec (&k)[N]) {
A_vec qk_vec = mul<A_vec, Vec, Vec>(q[0], k[0]);
#pragma unroll
for (int ii = 1; ii < N; ++ii) {
qk_vec = fma(q[ii], k[ii], qk_vec);
qk_vec = vllm::fma(q[ii], k[ii], qk_vec);
}

// Finalize the reduction across lanes.
Expand Down

0 comments on commit 2a1adda

Please sign in to comment.