Mercurial > hg > Game > Cerium
view example/many_task/ppe/task_init.cc @ 2032:dae9dc8d1d8f draft
Fix Makefile in linux
author | Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 16 Dec 2014 15:53:39 +0900 |
parents | 273de551f726 |
children |
line wrap: on
line source
#include "Func.h" #include "Scheduler.h" #ifdef __CERIUM_CUDA__ #include "CudaScheduler.h" #endif SchedExternTask(QuickSort); SchedExternTask(SortSimple); SchedExternTask(SortCompat); SchedExternTask(SortTaskArray); void task_init(void) { SchedRegisterTask(QUICK_SORT, QuickSort); SchedRegister(SortSimple); // SchedRegister(SortCompat); SchedRegister(SortTaskArray); #ifdef __CERIUM_CUDA__ CudaSchedRegister(QUICK_SORT, "cuda/QuickSort.ptx", "quick_sort"); #endif }