Fix cuda interface
Description
Fix minor issues with the CUDA interface.
Checklist
-
I have checked that my code follows the Octopus coding standards -
I have added tests for all the new features added in this request.
Fix minor issues with the CUDA interface.