view example/fft/ppe/setid.cc @ 1579:7418c7aef534 draft

fft
author Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
date Mon, 25 Mar 2013 23:27:04 +0900
parents 67f362c6325c
children
line wrap: on
line source

#include "setid.h"
#include "Func.h"

SchedDefineTask1(setid,setid);

static int
setid(SchedTask* s,void* rbuf,void* wbuf)
{
    s->global_alloc(FIRSTID,sizeof(int));

    s->global_alloc(SECONDID,sizeof(int));
    
    return 0;
}