| 1 |
cilk_for() |
| 2 |
cilk_for () |
| 3 |
|
| 4 |
cilk_spawn f(); |
| 5 |
cilk_spawn {} |
| 6 |
cilk_spawn{} |
| 7 |
|
| 8 |
cilk_sync; |
| 9 |
|
| 10 |
cilk_scope {} |
| 11 |
cilk_scope{} |
| 12 |
|
| 13 |
int cilk_reducer() x; |
| 14 |
int cilk_reducer () x; |
| 15 |
|
| 16 |
---------------------------------------------------- |
| 17 |
|
| 18 |
[ |
| 19 |
["parallel-keyword", "cilk_for"], ["punctuation", "("], ["punctuation", ")"], |
| 20 |
["parallel-keyword", "cilk_for"], ["punctuation", "("], ["punctuation", ")"], |
| 21 |
|
| 22 |
["parallel-keyword", "cilk_spawn"], |
| 23 |
["function", "f"], |
| 24 |
["punctuation", "("], |
| 25 |
["punctuation", ")"], |
| 26 |
["punctuation", ";"], |
| 27 |
|
| 28 |
["parallel-keyword", "cilk_spawn"], |
| 29 |
["punctuation", "{"], |
| 30 |
["punctuation", "}"], |
| 31 |
|
| 32 |
["parallel-keyword", "cilk_spawn"], |
| 33 |
["punctuation", "{"], |
| 34 |
["punctuation", "}"], |
| 35 |
|
| 36 |
["parallel-keyword", "cilk_sync"], ["punctuation", ";"], |
| 37 |
|
| 38 |
["parallel-keyword", "cilk_scope"], |
| 39 |
["punctuation", "{"], |
| 40 |
["punctuation", "}"], |
| 41 |
|
| 42 |
["parallel-keyword", "cilk_scope"], |
| 43 |
["punctuation", "{"], |
| 44 |
["punctuation", "}"], |
| 45 |
|
| 46 |
["keyword", "int"], |
| 47 |
["parallel-keyword", "cilk_reducer"], |
| 48 |
["punctuation", "("], |
| 49 |
["punctuation", ")"], |
| 50 |
" x", |
| 51 |
["punctuation", ";"], |
| 52 |
|
| 53 |
["keyword", "int"], |
| 54 |
["parallel-keyword", "cilk_reducer"], |
| 55 |
["punctuation", "("], |
| 56 |
["punctuation", ")"], |
| 57 |
" x", |
| 58 |
["punctuation", ";"] |
| 59 |
] |
| 60 |
|
| 61 |
---------------------------------------------------- |
| 62 |
|
| 63 |
Check Cilk keywords. |