I'm pretty sure this error has something to do with my stride and loop conditions, but i'm not sure what to change to fix this. I use the built in function for my start and the built in function for my stride.
start = cuda.grid(1)
stride = cuda.gridsize(1)
my for loop looks like:
for i in range(start, list_of_vals.shape[0], stride):
list_of_vals is a numpy array i pass my function from main() and the call to shape should give the loop the right size, but this isn't happening.
Am I missing something simple or does this error mean there's something extremely wrong?
I appreciate any help!