Kernel Compilation error- KernelError: recursion is currently not supported

Please format your code using triple backticks. See Please read: make it easier to help you

You are allocating a CuArray within your kernel, this is unsupported. CuArray is a host-side array, you can only pass it to a device kernel.

1 Like