view example/many_task/sort.h @ 400:984e7890db0c draft

Fix examples.
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 21 Sep 2009 18:47:06 +0900
parents e7faaf516be1
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)))