Commit Graph

13 Commits

Author SHA1 Message Date
Tom Deakin
3c394b9db0 Move device functions outside class 2016-04-29 18:28:21 +01:00
Tom Deakin
d1f8cd1b48 Implement some CUDA routines for device info 2016-04-28 23:06:06 +01:00
Tom Deakin
a1cab96c57 Define the implementaiton strings in each implementation header 2016-04-28 17:20:40 +01:00
Tom Deakin
a745ffc724 Add more keywords to CUDA header 2016-04-28 12:07:09 +01:00
Tom Deakin
3d5a49317e Free CUDA buffers in destructor 2016-04-27 12:11:19 +01:00
Tom Deakin
40c787d040 Check bufers fit on CUDA device 2016-04-27 11:52:15 +01:00
Tom Deakin
9730cd071e Overridden functions should have more keywords 2016-04-27 11:34:42 +01:00
Tom Deakin
9c673317a7 Store array size in class so can use it for kernel launches 2016-04-26 16:09:51 +01:00
Tom Deakin
8e534daf8b Add methods to copy data between host and device 2016-04-26 15:02:41 +01:00
Tom Deakin
03b01e190f Add cuda constructor declaration and error checking function 2016-04-26 14:49:04 +01:00
Tom Deakin
0bf68f9909 Make a copy kernel using the private variables 2016-04-26 14:34:25 +01:00
Tom Deakin
1a259d4fc8 Add a copy kernel 2016-04-26 14:24:04 +01:00
Tom Deakin
2234841b16 Initial commit of new design with classes 2016-04-26 14:08:59 +01:00