changeset 1736:ade645630b86 draft

minor fix
author Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
date Fri, 01 Nov 2013 20:23:21 +0900
parents 139e2277e8b1
children 6bd9a57eb44d
files TaskManager/Gpu/GpuScheduler.cc example/fft/output.pgm
diffstat 2 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/TaskManager/Gpu/GpuScheduler.cc	Fri Nov 01 20:10:31 2013 +0900
+++ b/TaskManager/Gpu/GpuScheduler.cc	Fri Nov 01 20:23:21 2013 +0900
@@ -297,7 +297,7 @@
                 
                 params_addr = (memaddr)tasklist[cur]->next;
             }
-            printf("GPU %d %s\t%lld\n",tasklist[cur]->self->cpu_type,(char*)(gpu_task_list[4].name),tasklist[cur]->task_end_time-tasklist[cur]->task_start_time);
+            printf("GPU %d %s\t%lld\n",tasklist[cur]->self->cpu_type,(char*)(gpu_task_list[tasklist[cur]->tasks[0].command].name),tasklist[cur]->task_end_time-tasklist[cur]->task_start_time);
             cur = 1 - cur;
         }
         wait_for_event(event,reply,cur);
Binary file example/fft/output.pgm has changed