view example/hello_array/spe/Hello.cc @ 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 f0b7eeb72918
children
line wrap: on
line source

#include <stdio.h>
#include "SchedTaskArray.h"
#include "Hello.h"
#include "Func.h"

/* これは必須 */
SchedDefineTask(Hello);

static int
run(SchedTask *s,void *rbuf, void *wbuf)
{
    // SchedTaskArray *a = (SchedTaskArray *)s;

    s->printf("Hello World\n");

    return 0;
}