This invention provides a method,
system, electronic device, and storage medium for live round-robin scheduling of thread blocks, belonging to the field of GPGPU
thread scheduling and execution. The method includes: when a thread block's thread bundle encounters a long-
delay memory access operation, receiving feedback from the thread bundle scheduler, matching the corresponding thread block entry using the feedback ID number, and decrementing the
liveness value by 1. When the
liveness value is zero, the thread block is deactivated, and the execution context information of the thread block is stored in
shared memory. The
shared memory stores data for multiple thread blocks and the round-robin context information for each thread block. Simultaneously, thread blocks with
liveness values are selected for activation and sent to the pipeline for scheduling. When the thread block is reactivated, its context information is read from the
shared memory for continued execution. By
polling and switching live thread blocks, the latency of long-
delay instructions is masked, improving the GPGPU's operating efficiency.