Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[GPU] Add reqd_work_group_size attribute to softmax bf kernel (#26345)

Damian Kurek810efc90d806
diff --git a/src/plugins/intel_gpu/src/kernel_selector/cl_kernels/softmax_gpu_bf.cl b/src/plugins/intel_gpu/src/kernel_selector/cl_kernels/softmax_gpu_bf.cl
index 990da150955..143d8cd908d 100644
--- a/src/plugins/intel_gpu/src/kernel_selector/cl_kernels/softmax_gpu_bf.cl
+++ b/src/plugins/intel_gpu/src/kernel_selector/cl_kernels/softmax_gpu_bf.cl
@@ -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