view example/task_queue/main.h @ 2069:26aa08c9a1de draft default tip

cuda example fix
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 12 Feb 2017 10:04:55 +0900
parents efee36d2f84c
children
line wrap: on
line source

#include "TaskQueue.h"
#include "QueueInfo.h"
#include "TaskManager.h"

#define MAX_QUEUE 4

typedef struct queues {
    int i;
    int j;
    TaskManager *m;
    QueueInfo<TaskQueue> *q[MAX_QUEUE];
} Queues, *QueuePtr;