Skip to content
Snippets Groups Projects
Commit df6437b3 authored by Xuan Thang Nguyen's avatar Xuan Thang Nguyen
Browse files

less cudaDeviceSync calls

parent 0da0be26
No related branches found
No related tags found
No related merge requests found
......@@ -191,9 +191,8 @@ public:
cuda_newTasks.getView(), cuda_newTasksAmount.getData());
tasksAmount = processNewTasks();
cudaDeviceSynchronize();
}
cudaDeviceSynchronize();
}
int getSetsNeeded() const
......@@ -231,7 +230,6 @@ public:
cuda_blockToTaskMapping.getView());
cuda_newTasksAmount = 0;
cudaDeviceSynchronize();
return cuda_blockToTaskMapping_Cnt.getElement(0);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment