I'm trying to use ILGPU to mess with CUDA on my GPU.
When I try to load a kernel and pass it some data:
var krnl = gpu.LoadAutoGroupedStreamKernel<Index1, ArrayView<byte>, int[]>(krnCopyStringToCard);
I get the following error, which is really confusing:
The type 'int[]' must be a non-nullable value type in order to use it as a parameter...
Looking at nullable docs (new to me), it seems like int
can be nullable but only if you declare it so. I'm definitely not doing that so what gives?