hi...i'm trying to count the GPU and CPU FLOPS and i've got the source from http://norma.mbg.duth.gr/index.php?id=about:benchmarks:cuda_flops
i renamed it to cudaflops.cu and compile it with this makefile
################################################################################
#
# Build script for project
#
################################################################################
# Add source files here
EXECUTABLE := benchmark
# Cuda source files (compiled with cudacc)
CUFILES := cudaflops.cu
# C/C++ source files (compiled with gcc / c++)
CCFILES :=
################################################################################
# Rules and targets
include ../../common/common.mk
#########################################
it works fine and give result 367 GFlops
but now, i don't know to test this source in CPU, i read hxxp://www.tomshardware.com/news/cuda-gpgpu-x86-opencl-directcompute,11341.html said that the source could run on cpu.
so how the modified makefile to do it??