view Renderer/Engine/spe/DataFree.cc @ 1161:cc1a50cac83d draft

use MemorySegment API for pp load. do not check execution of the cell side. to be continued..
author Yutaka_Kinjyo
date Thu, 05 May 2011 00:15:43 +0900
parents 801d57ae1e29
children
line wrap: on
line source

//#include <stdio.h>
#include <string.h>
#include "DataFree.h"
#include "Func.h"

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

static int
run(SchedTask *s, void *rbuf, void *wbuf)
{

  long load_id = (long)s->get_param(0);

  //printf("size %d",sizeof(float)*length);

  s->global_free(load_id);

  //MemList *ml = s->createMemList(length,length);
  //s->global_set(load_id, (void *)ml);

  return 0;
}