A simple programm based on JCuda to measure the time for adding n numbers via CUDA.
Currently only works on linux (tested on Linux Mint 18.1)
Installation:
-
Download zip from https://github.com/nikiosna/CudaTest/releases
-
extract and "cd CudaTest"
-
(float test) java -jar CudaTest.jar -f
(double test) java -jar CudaTest.jar -d
Syntax:
necessary
-d (--double) OR -f (--float)
additional
-n (--number) [int] Change the default value from 10 000 000 to a chosen number
-m (--memory) Include the runtime of the memory copy
Building:
TODO
Libraries:
JCuda https://github.com/jcuda/jcuda-main