Mercurial > hg > Game > Cerium
changeset 1523:d232231e1425 draft
remove warning.
author | Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 13 Nov 2012 16:46:19 +0900 |
parents | 027d99ecb50e |
children | 32305a19a380 23f8034d8100 |
files | TaskManager/Gpu/GpuScheduler.cc example/many_task/gpu/gpu_task_init.cc |
diffstat | 2 files changed, 2 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/TaskManager/Gpu/GpuScheduler.cc Tue Nov 13 16:16:29 2012 +0900 +++ b/TaskManager/Gpu/GpuScheduler.cc Tue Nov 13 16:46:19 2012 +0900 @@ -142,9 +142,8 @@ } reply[cur] = (memaddr)tasklist->waiter; - - clFlush(command_queue[cur]); // flush for queued task - clFinish(command_queue[cur]); // waiting for queued task + clFlush(command_queue[cur]); // waiting for queued task + //clFinish(command_queue[cur]); // waiting for queued task // pipeline : 1-cur // no pipeline : cur
--- a/example/many_task/gpu/gpu_task_init.cc Tue Nov 13 16:16:29 2012 +0900 +++ b/example/many_task/gpu/gpu_task_init.cc Tue Nov 13 16:46:19 2012 +0900 @@ -7,8 +7,6 @@ void task_init(void) { - int a = SortSimple; - int b = QUICK_SORT; SchedRegister(SortSimple); GpuSchedRegister(QUICK_SORT, "gpu/QuickSort.cl", "quick_sort"); }