Commit Graph

20 Commits

Author SHA1 Message Date
Tom Deakin
7ba0b8fc18 Display precision in the header output 2015-07-27 17:19:19 +01:00
Tom Deakin
80955ff2dc Add CUDA error checking 2015-07-27 17:07:07 +01:00
Tom Deakin
ec9d73b8d5 CUDA bug: ARRAY_SIZE on CLI not being resized
The ARRAY_SIZE was being resized before the CLI args were read
2015-07-27 16:49:36 +01:00
Tom Deakin
a74e7cee4c Bug fix: sizes array wasn't updating with ARRAY_SIZE argument
sizes array was fixed at compile time not run time.
Moved the declaration to the correct scope.
2015-07-27 13:44:07 +01:00
Tom Deakin
c3ad5edcb3 Port float code to CUDA version 2015-07-23 12:49:25 +01:00
Tom Deakin
cd786dbe25 CUDA fix geting device name with the device index 2015-07-20 17:09:26 +01:00
Tom Deakin
5fc14bbba1 Change binary name in cuda help 2015-07-16 18:32:23 +01:00
Tom Deakin
30305d83e0 CUDA: select number to times from CLI 2015-07-16 18:31:54 +01:00
Tom Deakin
39a63b7d32 CUDA fix bug with listing device names 2015-07-16 18:14:11 +01:00
Tom Deakin
f2536f8764 Enqueue CUDA kernels 2015-07-16 18:06:35 +01:00
Tom Deakin
2c2dbf2c3f You have to specify block size in CUDA, so make sure ARRAY_SIZE divides 1024 2015-07-16 18:06:07 +01:00
Tom Deakin
9da2cd6d09 CUDA: make device buffers arrays not vectors 2015-07-16 17:53:09 +01:00
Tom Deakin
e76cc9fb62 Uncomment kernels in CUDA - have to remove restrict keyword 2015-07-16 17:46:50 +01:00
Tom Deakin
fa865dca4f Enumerate and select CUDA devices 2015-07-16 17:46:03 +01:00
Tom Deakin
cf6809ba37 Change output to say CUDA if CUDA version 2015-07-16 17:34:59 +01:00
Tom Deakin
3ff57ba9d6 Add parseInt to cuda version for device index 2015-07-16 17:33:58 +01:00
Tom Deakin
8c7224ab42 Remove cl_uint reference in CUDA version 2015-07-16 17:31:59 +01:00
Tom Deakin
06c24b2867 Remove OpenCL header and use CUDA header in CUDA version 2015-07-16 17:30:54 +01:00
Tom Deakin
435cb3b971 Remove catching cl::Error in CUDA version 2015-07-16 17:30:13 +01:00
Tom Deakin
cfe2f862ae Add a half broken CUDA port 2015-07-16 17:28:28 +01:00