mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 06:24:51 +08:00
- when resume(all) is called - all threads' sr counter needs to be verified. Reading state save area separately for all threads takes longer than reading whole state save area once. State save area is only read again if sr counter wasn't updated - fail while reading state save area means threads might have completed execution - this fix optimizes time spent in resume(all), that may be called before debugger detaches Related-To: NEO-7897 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>