parsec
parsec copied to clipboard
Delegate GPU task completion to a co-manager
Delegate GPU task completion to a co-manager using the MCA parameter device_cuda_delegate_task_completion.
- The second CPU thread that submits the task to the GPU device is transitioned to a co-manager.
- The task is completed by the manager if the co manager has not yet been set.
- The manager pushes the task to be completed to a co-manager specific queue.
- The GPU task is freed by the thread (manager or co-manager) that completes it.