Cooperative work-stealing scheduler
Abstract:
A method for use in a computing system having a central processing unit (CPU) and a graphics processing unit (GPU), the method comprising: assigning a first memory portion and a second memory portion to: a worker thread of a work-stealing scheduler and an execution unit that is part of the GPU; retrieving a task from a queue associated with the worker thread; detecting, by the worker thread, whether a cutoff condition for the task is satisfied; when the cutoff condition is not satisfied, dividing the task into two or more additional tasks and adding the two or more additional tasks to the queue; when the cutoff condition is satisfied, storing first data corresponding to the task in the second memory portion, the first data being stored in the second memory portion by the worker thread; issuing a memory fence acquire instruction; and storing a first value in the first memory portion.
Public/Granted literature
Information query
Patent Agency Ranking
0/0