annotate TaskManager/ManyCore/ManyCoreTaskManagerFactory.cc @ 2047:de89da997e07 draft

add FileMapReduce
author Nozomi
date Wed, 27 Jan 2016 19:09:33 +0900
parents e0d465efc57e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1891
e0d465efc57e directory reogranization for Cell/Fifo/ManyCore/Gpu
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 1889
diff changeset
1 #include "ManyCoreTaskManagerImpl.h"
1125
b733c7903d07 remove old code
yutaka@localhost.localdomain
parents: 1123
diff changeset
2
1626
4fed76f4d101 add gpuNum
shuhei kokubo
parents: 1624
diff changeset
3 TaskManagerImpl *create_impl(int num, int num_gpu, int useRefDma)
1480
f2512fb94223 GpuTaskManager no compile error
Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp>
parents: 1479
diff changeset
4 {
1889
8383e9ac5e55 fix IO_num init
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 1884
diff changeset
5 int io_num = 2; // two threads for I/O
8383e9ac5e55 fix IO_num init
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 1884
diff changeset
6 Threads *cpus = new CpuThreads(num, io_num, useRefDma);
1891
e0d465efc57e directory reogranization for Cell/Fifo/ManyCore/Gpu
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 1889
diff changeset
7 return new ManyCoreTaskManagerImpl(num, num_gpu, cpus);
57
1f8a23cdeec3 *** empty log message ***
gongo
parents:
diff changeset
8 }