CUDA Error in constant CuArray with conditional usage

You cannot precompile a CuArray, they are session dependent. Change it to a Ref or something and create it during __init__ (or at another time, but at run-time).

1 Like