Mercurial > hg > Members > kono > Cerium
view example/MemList/spe/Hello.cc @ 626:ab866bc8a624
64bit mode compatibility on Cell
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 16 Nov 2009 11:37:26 +0900 |
parents | 44c0bce54dcf |
children |
line wrap: on
line source
#include <stdio.h> #include "Hello.h" #include "Func.h" /* これは必須 */ SchedDefineTask(Hello); static int run(SchedTask *smanager, void *rbuf, void *wbuf) { int task_id = (long)smanager->get_param(0); smanager->printf("[%d] Hello, World!!\n", task_id); return 0; }