view example/fft/gpu/gpu_task_init.cc @ 1710:d32d5659695a draft

run gpu example
author Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp>
date Tue, 08 Oct 2013 18:05:11 +0900
parents 8e0305989829
children e99dc86d39e2
line wrap: on
line source

#include "Func.h"
#include "GpuScheduler.h"

void
gpu_task_init(void)
{
    GpuSchedRegister(SPIN_FACT, "gpu/spinFact.cl", "spinFact");
    GpuSchedRegister(BIT_REVERSE, "gpu/bitReverse.cl", "bitReverse");
    GpuSchedRegister(NORMALIZATION, "gpu/norm.cl", "norm");
    GpuSchedRegister(BUTTERFLY, "gpu/butterfly.cl", "butterfly");
    GpuSchedRegister(TRANSPOSE, "gpu/transpose.cl", "transpose");
    GpuSchedRegister(HIGH_PASS_FILTER, "gpu/highPassFilter.cl", "highPassFilter");
}