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.
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.