view example/many_task/sort.h @ 469:f785f63ae940 draft

fix spe/DrawSpan.cc (not yet tested)
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Fri, 02 Oct 2009 17:14:16 +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)))