Commit Graph

10 Commits

Author SHA1 Message Date
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