Mercurial > hg > Gears > GearsAgda
comparison src/parallel_execution/examples/twice/main.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 | 57c715bd6283 |
children | 7d67c9cf09ee |
comparison
equal
deleted
inserted
replaced
461:6b71cf5b1c22 | 462:8d7e5d48cad3 |
---|---|
2 #include <string.h> | 2 #include <string.h> |
3 #include <stdlib.h> | 3 #include <stdlib.h> |
4 #include <unistd.h> | 4 #include <unistd.h> |
5 | 5 |
6 #include "../../../context.h" | 6 #include "../../../context.h" |
7 #include "TaskManager.h" | |
7 | 8 |
8 int cpu_num = 1; | 9 int cpu_num = 1; |
9 int length = 102400; | 10 int length = 102400; |
10 int split = 8; | 11 int split = 8; |
11 int* array_ptr; | 12 int* array_ptr; |