Skip to content

Commit

Permalink
[GPU] Add reqd_work_group_size attribute to softmax bf kernel (openvi…
Browse files Browse the repository at this point in the history
…notoolkit#26345)

### Details:
 - Add reqd_work_group_size attribute to softmax bf kernel
 - Slight performance improvement

### Tickets:
 - 151211
  • Loading branch information
dnkurek authored Sep 2, 2024
1 parent a4621ac commit 810efc9
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@

#endif

#if !IS_DYNAMIC
__attribute__((reqd_work_group_size(LWS, 1, 1)))
#endif
REQD_SUB_GROUP_SIZE(SUB_GROUP_SIZE)
KERNEL (softmax_gpu_continuous_bfyx)(
OPTIONAL_SHAPE_INFO_ARG
Expand Down

0 comments on commit 810efc9

Please sign in to comment.