-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bugfix: a bunch of rows were skipped after GPU kernel suspend/resume
issue #819 When GPU kernel raised CPU-fallback first time, it once suspends the GPU kernel because the fallback buffer is not attached on. Then, it restarts GPU kernel, and it fetched rows according to the wp->smx_row_count. In the old implementation, we incremented the wp->smx_row_count immediately on the early half of __gpuscan_load_source_xxxx(). It means, if CPU-fallback raised GPU-kernel suspend/resume, we will see the next block even though the suspended block was not processed.
- Loading branch information
Showing
1 changed file
with
33 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters