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 <Charlie.Fu@amd.com>
  • Loading branch information
gshtras and charlifu authored Aug 21, 2024
1 parent 7eebe8c commit 9984605
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 9984605

Please sign in to comment.