view example/many_task/sort.h @ 444:afbc6ec42c7f draft

test_render is not working...
author game@henri.cr.ie.u-ryukyu.ac.jp
date Fri, 25 Sep 2009 05:54:33 +0900
parents 984e7890db0c
children e78f70dc7ef8
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)))