Mercurial > hg > Members > kono > Cerium
view example/many_task/sort.h @ 436:8eac9bf116d8
merge
author | game@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Thu, 24 Sep 2009 22:36:13 +0900 |
parents | 00fe05184a02 |
children | c13bbb7d70b3 |
line wrap: on
line source
#include "TaskManager.h" // array position typedef struct Data { int index; int ptr; int pad[2]; } Data, *DataPtr; extern void sort_init(TaskManager *,int, int); #define MAX_BLOCK_SIZE (int)(1024*16/(sizeof(Data)))