Mercurial > hg > GearsTemplate
comparison src/parallel_execution/context.h @ 360:ba5959d7901d
add bitonic_sort but not work
author | Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 27 Jun 2017 01:29:43 +0900 |
parents | e68080586c15 |
children | d93dceb84c75 136ce3537438 |
comparison
equal
deleted
inserted
replaced
359:e68080586c15 | 360:ba5959d7901d |
---|---|
283 } Allocate; | 283 } Allocate; |
284 struct Integer { | 284 struct Integer { |
285 int value; | 285 int value; |
286 } Integer; | 286 } Integer; |
287 struct SortArray {//そもそもこれは必要なのか? | 287 struct SortArray {//そもそもこれは必要なのか? |
288 struct SortArray *sortArray; | |
288 struct Integer **array;//Array arrayじゃできない? | 289 struct Integer **array;//Array arrayじゃできない? |
289 int loop_counter; | 290 int loop_counter; |
291 int loop_counter2; | |
292 int loop_counter3; | |
293 int d; | |
290 enum Code make_array; | 294 enum Code make_array; |
291 enum Code print; | 295 enum Code print; |
296 enum Code bitonic_sort; | |
297 enum Code kernel; | |
298 enum Code swap; | |
292 }SortArray; | 299 }SortArray; |
293 }; // union Data end this is necessary for context generator | 300 }; // union Data end this is necessary for context generator |
294 | 301 |
295 typedef union Data Data; | 302 typedef union Data Data; |
296 | 303 |