Mercurial > hg > Game > Cerium
changeset 1735:139e2277e8b1 draft
fix indent
author | Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 01 Nov 2013 20:10:31 +0900 |
parents | 4206f70691df |
children | ade645630b86 |
files | TaskManager/Cell/CellTaskManagerImpl.cc example/fft/output.pgm |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/TaskManager/Cell/CellTaskManagerImpl.cc Fri Nov 01 19:53:00 2013 +0900 +++ b/TaskManager/Cell/CellTaskManagerImpl.cc Fri Nov 01 20:10:31 2013 +0900 @@ -95,8 +95,8 @@ } else { if (htask->cpu_type == SPE_ANY) { speid = cur_anySpeid++ % machineNum; - // cpu があれば cpu に割り振る - if (machineNum != gpuNum && speid < gpuNum) speid = gpuNum; + // cpu があれば cpu に割り振る + if (machineNum != gpuNum && speid < gpuNum) speid = gpuNum; #ifdef __CERIUM_GPU__ } else if (gpuNum == 0 && htask->cpu_type < (int)SPE_0) { // gpu = 0 で gpu を指定されたときには cpu で実行する @@ -114,7 +114,7 @@ speid = htask->cpu_type - CPU_SPE - 1 + gpuNum; if (speid >= gpuNum && machineNum == gpuNum) { speid = cur_anySpeid++ % machineNum; - } else if (speid < gpuNum && gpuNum == 0) { + } else if (speid < gpuNum && gpuNum == 0) { speid = cur_anySpeid++ % machineNum; } }