annotate TaskManager/ManyCore/ManyCoreTaskManagerImpl.h @ 2069:26aa08c9a1de draft default tip

cuda example fix
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 12 Feb 2017 10:04:55 +0900
parents 1cb4e08a68a6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1899
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 #ifndef INCLUDED_MANYCORE_TASK_MANAGER_IMPL
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 #define INCLUDED_MANYCORE_TASK_MANAGER_IMPL
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
3
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 #include "CellTaskManagerImpl.h"
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
5
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 class ManyCoreTaskManagerImpl : public CellTaskManagerImpl {
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
7
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 public :
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 /* constructor */
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 ManyCoreTaskManagerImpl(int num, int gpu, Threads *cpus) : CellTaskManagerImpl(num,gpu,cpus) {
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
11 }
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
12
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
13 void print_arch() {
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
14 printf("ManyCoreTaskManager\n");
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
15 }
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
16 };
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
17
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
18 #endif