The engine throws a hard to dechiper error when the grid size doesn't have small prime factors. In our case using:
SetGridsize(625, 625, 1)
returned,
panic: CURAND_STATUS_LENGTH_NOT_MULTIPLE
I believe this is related to 625 only having 5 as a prime factor. Changing to, for example, 650 fixed the panic. I'm aware that using small prime factors is always going to be better for performance anyway, but perhaps there might be a better way to catch this error and report to the user what the should change.
The engine throws a hard to dechiper error when the grid size doesn't have small prime factors. In our case using:
SetGridsize(625, 625, 1)
returned,
panic: CURAND_STATUS_LENGTH_NOT_MULTIPLE
I believe this is related to 625 only having 5 as a prime factor. Changing to, for example, 650 fixed the panic. I'm aware that using small prime factors is always going to be better for performance anyway, but perhaps there might be a better way to catch this error and report to the user what the should change.