changeset 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 8792afbb0cf0
children 4dfcd6d74592 76f3fac74971
files example/fft/gpu/gpu_task_init.cc example/fft/output.pgm example/multiply/gpu/gpu_task_init.cc
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/example/fft/gpu/gpu_task_init.cc	Tue Oct 08 17:53:27 2013 +0900
+++ b/example/fft/gpu/gpu_task_init.cc	Tue Oct 08 18:05:11 2013 +0900
@@ -4,10 +4,10 @@
 void
 gpu_task_init(void)
 {
-    /*    GpuSchedRegister(SPIN_FACT, "gpu/spinFact.cl", "spinFact");
+    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");*/
+    GpuSchedRegister(HIGH_PASS_FILTER, "gpu/highPassFilter.cl", "highPassFilter");
 }
Binary file example/fft/output.pgm has changed
--- a/example/multiply/gpu/gpu_task_init.cc	Tue Oct 08 17:53:27 2013 +0900
+++ b/example/multiply/gpu/gpu_task_init.cc	Tue Oct 08 18:05:11 2013 +0900
@@ -12,5 +12,5 @@
 void
 gpu_task_init(void)
 {
-    //GpuSchedRegister(MULTIPLY_TASK, "gpu/Multi.cl","multi");
+    GpuSchedRegister(MULTIPLY_TASK, "gpu/Multi.cl","multi");
 }