comparison src/parallel_execution/examples/calc/calc.cbc @ 462:8d7e5d48cad3

Running CPU examples
author Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
date Wed, 20 Dec 2017 22:05:08 +0900
parents d3d7a7d6a117
children 831b7f6fd687
comparison
equal deleted inserted replaced
461:6b71cf5b1c22 462:8d7e5d48cad3
3 #include <stdlib.h> 3 #include <stdlib.h>
4 #include <unistd.h> 4 #include <unistd.h>
5 #include <assert.h> 5 #include <assert.h>
6 6
7 #include "../../../context.h" 7 #include "../../../context.h"
8 #include "TaskManager.h"
8 9
9 int cpu_num = 1; 10 int cpu_num = 1;
10 int length = 100; 11 int length = 100;
11 int gpu_num = 0; 12 int gpu_num = 0;
12 int CPU_ANY = -1; 13 int CPU_ANY = -1;