Mercurial > hg > Game > Cerium
view TaskManager/ManyCore/ManyCoreTaskManagerFactory.cc @ 2022:fac44ad2867d draft
make a sound
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 16 Jul 2014 02:50:32 +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); }