Thank you, but that is still too low level for me. I would rather not be writing individual CUDA code. There's got to be an easier high-level solution, like one that uses decorators to wrap my functions.