Absorbed functionality in a class calling C-like CUDA functions