openvino
e5ee566b - [GPU] fix scatterelementsupdate kernel selection issue (#32074)

Commit
227 days ago
[GPU] fix scatterelementsupdate kernel selection issue (#32074) ### Details: - Fixed LWS (Local Work Size) constraint violation in ScatterElementsUpdate kernel - Limited LWS to prevent kernel selection failure ### Description of the issue(symptom, root-cause, how it was resolved) - ScatterElementsUpdate_4 operation fails with "LWS cannot be greater than 1024" error when batch size >= 1024 - Commit [1e9eb22b ](https://github.com/openvinotoolkit/openvino/commit/1e9eb22b9593aa51bf8240e5f16641db3cdf55a2#diff-185aeca4571e2f64c3d5c951d6aa1f49c53563d4af08fbf0d11f974967822ceb)introduced atomic operations optimization but didn't respect GPU hardware constraint that LWS product cannot exceed maxWorkGroupSize (typically 1024) - Limit LWS third dimension, ensuring compliance with hardware limits. #### The code and line that caused this issue (if it is not changed directly) https://github.com/openvinotoolkit/openvino/blob/aecaaff7e2be4c4bac0fefdbc50390bd04261f42/src/plugins/intel_gpu/src/kernel_selector/kernels/scatter_update/scatter_elements_update_kernel_ref.cpp#L104 https://github.com/openvinotoolkit/openvino/blob/aecaaff7e2be4c4bac0fefdbc50390bd04261f42/src/plugins/intel_gpu/src/kernel_selector/kernels/scatter_update/scatter_elements_update_kernel_ref.cpp#L108 https://github.com/openvinotoolkit/openvino/blob/aecaaff7e2be4c4bac0fefdbc50390bd04261f42/src/plugins/intel_gpu/src/kernel_selector/kernels/scatter_update/scatter_elements_update_kernel_ref.cpp#L112 #### Reproduction step and snapshot (if applicable. Do not attach for customer model) cat >> my_test_lists.txt << EOF notebooks/table-question-answering/table-question-answering.ipynb EOF python .ci/patch_notebooks.py -td gpu notebooks/table-question-answering/ python .ci/validate_notebooks.py --device gpu --test_list my_test_lists.txt #### Problematic graph - Models containing ScatterElementsUpdate operations with reduction mode and batch dimension >= 1024 - The issue appears during GPU kernel compilation phase when LWS validation fails <img width="1946" height="1552" alt="image" src="https://github.com/user-attachments/assets/6ea91321-b336-46b8-b07b-a29f99d3c6cb" /> #### Checklist - [v] Is it a proper fix? (not a workaround) - [v] Did you include test case for this fix, if necessary? - [v] Did you review existing test that can be extended to cover this scenario? Which test did you review? ### Tickets: - *CVS-171210*
Author
Parents
Loading