Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion parsec/mca/device/device_gpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -2918,8 +2918,13 @@ parsec_device_kernel_exec( parsec_device_gpu_module_t *gpu_device,
/* The submit hook may turn gpu_task into a batch ring. Start from a clean
* singleton so stale list links left by release-mode list operations cannot
* be mistaken for a preexisting ring.
* However, if the task returned PARSEC_HOOK_RETURN_AGAIN, we must preserve the
* ring as it may contain the follower tasks of the batch.
*/
PARSEC_LIST_ITEM_SINGLETON(&gpu_task->list_item);
if (gpu_task->last_status != PARSEC_HOOK_RETURN_AGAIN) {
/* The task is being rescheduled, we need to reset the status */
PARSEC_LIST_ITEM_SINGLETON(&gpu_task->list_item);
}
Comment on lines +2924 to +2927

(void)this_task;
rc = progress_fct( gpu_device, gpu_task, gpu_stream );
Expand Down
Loading