Mercurial > hg > Game > Cerium
changeset 1830:812b14ffe5dc draft
fix GpuScheduler
author | Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 17 Dec 2013 17:21:14 +0900 |
parents | 45d4ed567cd7 |
children | 1b4d4b3c0546 |
files | TaskManager/Gpu/GpuScheduler.cc |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/TaskManager/Gpu/GpuScheduler.cc Tue Dec 17 16:42:35 2013 +0900 +++ b/TaskManager/Gpu/GpuScheduler.cc Tue Dec 17 17:21:14 2013 +0900 @@ -361,6 +361,8 @@ gpuTaskError(cur,tasklist,ret); continue; } + + printf("GPU %d %s\t%lld\n",tasklist->self->cpu_type,(char*)(gpu_task_list[tasklist->tasks[0].command].name),tasklist->task_end_time-tasklist->task_start_time); // wait kernel[1-cur] and write[1-cur] wait_for_event(kernel_event, memout, 0, tasklist, cur); @@ -369,7 +371,6 @@ cur = 1 - cur; nextTask = nextTask->next(); } - printf("GPU %d %s\t%lld\n",tasklist->self->cpu_type,(char*)(gpu_task_list[tasklist->tasks[0].command].name),tasklist->task_end_time-tasklist->task_start_time); reply = (memaddr)tasklist->waiter; if(reply) { connector->mail_write(reply);