Commit Graph

568 Commits

Author SHA1 Message Date
Tom Deakin
e5bd4fcb19 Be consistent with indenting 2015-07-16 16:36:30 +01:00
Tom Deakin
97c179feb3 Add parseArguments etc to get the device from the command line 2015-07-16 16:32:49 +01:00
Tom Deakin
9e6e269c3b Add STREAM reference to README 2015-07-16 12:52:09 +01:00
Tom Deakin
f37ee97e35 Print out OpenCL device name 2015-07-16 12:39:32 +01:00
Tom Deakin
3a7a95b00d Print out short version banner 2015-07-16 12:39:03 +01:00
Tom Deakin
c8e35d1307 Update Makefile with better rules and a clean option 2015-07-16 12:30:30 +01:00
Tom Deakin
9791b7e3d1 Use floating point abs value 2015-07-16 12:26:16 +01:00
Tom Deakin
0596d01913 Validate the results 2015-07-16 12:23:21 +01:00
Tom Deakin
4d93a5e0b4 Copy back buffers after execution 2015-07-16 12:19:32 +01:00
Tom Deakin
c901069cf8 Average time should be over NTIMES-1 not NTIMES 2015-07-16 12:19:05 +01:00
Tom Deakin
847cdc9b5e Time the runs and print out results 2015-07-16 12:04:07 +01:00
Tom Deakin
097aa38fb7 Add 3-clause BSD license file 2015-07-15 23:36:08 +01:00
Tom Deakin
d4b45250ce Add empty README.md file 2015-07-15 23:29:40 +01:00
Tom Deakin
0d64d58c50 Create device buffers and copy host vectors to device 2015-07-15 23:27:19 +01:00
Tom Deakin
dd3ddf3aa3 Add cl.hpp from Khronos website 2015-07-15 23:20:19 +01:00
Tom Deakin
8b1a2e2f5a Add Makefile 2015-07-15 23:20:13 +01:00
Tom Deakin
11a661790f Add main method - setup OpenCL for default GPU device 2015-07-15 23:19:40 +01:00
Tom Deakin
8ad233c12e Add STREAM OpenCL kernels 2015-07-15 23:16:23 +01:00