Mercurial > hg > Game > Cerium
changeset 1711:4dfcd6d74592 draft
forget fft/task_init.cc.orig
author | kkb |
---|---|
date | Tue, 08 Oct 2013 18:38:08 +0900 |
parents | d32d5659695a |
children | 7cb9f93aa51f |
files | example/fft/task_init.cc.orig |
diffstat | 1 files changed, 0 insertions(+), 32 deletions(-) [+] |
line wrap: on
line diff
--- a/example/fft/task_init.cc.orig Tue Oct 08 18:05:11 2013 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,32 +0,0 @@ -#include "Func.h" -#include "Scheduler.h" -#include "GpuScheduler.h" - -#ifndef __CERIUM_GPU__ -SchedExternTask(spinFact); -SchedExternTask(bitReverse); -SchedExternTask(norm); -SchedExternTask(butterfly); -SchedExternTask(transpose); -SchedExternTask(highPassFilter); -#endif // not __CERIUM_GPU__ - -void -task_init(void) -{ -#ifdef __CERIUM_GPU__ - GpuSchedRegister(SPIN_FACT, "gpu/fft.cl", "spinFact"); - GpuSchedRegister(BIT_REVERSE, "gpu/fft.cl", "bitReverse"); - GpuSchedRegister(NORMALIZATION, "gpu/fft.cl", "norm"); - GpuSchedRegister(BUTTERFLY, "gpu/fft.cl", "butterfly"); - GpuSchedRegister(TRANSEPOSE, "gpu/fft.cl", "transpose"); - GpuSchedRegister(HIGH_PASS_FILTER, "gpu/fft.cl", "highPassFilter"); -#else - SchedRegisterTask(SPIN_FACT,spinFact); - SchedRegisterTask(NORMALIZATION, norm); - SchedRegisterTask(BIT_REVERSE, bitReverse); - SchedRegisterTask(BUTTERFLY, butterfly); - SchedRegisterTask(TRANSEPOSE, transpose); - SchedRegisterTask(HIGH_PASS_FILTER, highPassFilter); -#endif -}