Added in cuda functions

Signed-off-by: Roy <rikkyroy@gmail.com>