Mercurial > hg > Game > Cerium
view TaskManager/ManyCore/ManyCoreTaskManagerFactory.cc @ 2047:de89da997e07 draft
add FileMapReduce
author | Nozomi |
---|---|
date | Wed, 27 Jan 2016 19:09:33 +0900 |
parents | e0d465efc57e |
children |
line wrap: on
line source
#include "ManyCoreTaskManagerImpl.h" TaskManagerImpl *create_impl(int num, int num_gpu, int useRefDma) { int io_num = 2; // two threads for I/O Threads *cpus = new CpuThreads(num, io_num, useRefDma); return new ManyCoreTaskManagerImpl(num, num_gpu, cpus); }