Skip to content

Commit

Permalink
[FIX] Fix sycl esimd feature not support on HOST error (#2666)
Browse files Browse the repository at this point in the history
  • Loading branch information
yisonzhu authored Apr 9, 2024
1 parent faf8925 commit a7c62a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion itex/core/kernels/gpu/xetla/fmha_backward.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ struct arguments_t {
uH(head_size),
uF(num_queries),
uT(num_keys),
sm_scale(xetla_rsqrt<accum_t>(accum_t(head_size))) {}
sm_scale(1. / sqrt(head_size)) {}
};

template <typename mha_policy, typename scalar_t>
Expand Down

0 comments on commit a7c62a1

Please sign in to comment.