Mercurial > hg > Game > Cerium
changeset 1766:71bf632092c8 draft
fix gpu and cpu mix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 23 Nov 2013 01:14:06 +0900 |
parents | 2cf65c7687a5 |
children | 1a68c05eeadf |
files | TaskManager/Cell/CellTaskManagerImpl.h TaskManager/test/UtilizationTest/multiply |
diffstat | 2 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/TaskManager/Cell/CellTaskManagerImpl.h Sat Nov 23 01:10:55 2013 +0900 +++ b/TaskManager/Cell/CellTaskManagerImpl.h Sat Nov 23 01:14:06 2013 +0900 @@ -13,7 +13,7 @@ public: /* constructor */ CellTaskManagerImpl(int num, int gpu, Threads *cpus) : TaskManagerImpl(num) { - gpuNum = gpu; speThreads = cpus; cpu_num = num; id_offset = gpu ; + gpuNum = gpu; speThreads = cpus; cpu_num = num-gpu; id_offset = gpu ; } ~CellTaskManagerImpl();