Also, you need to fetch the stream `cuda_get_stream(pygpu_default_context()->ctx)` and launch the kernel on it.