Issues with cuda sample biCubicTexture not working

Using CUDA with visual studio and C++ the biCubicTexture sample doesn’t seem to work. When run, the image of the eye does not show, it is just black and after a short wait I get the following error:
CUDA error at C:/ProgramData/NVIDIA Corporation/CUDA Samples/v11.2/3_Imaging/bicubicTexture/ code=700(cudaErrorIllegalAddress) "cudaFreeArray(d_imageArray)"

Running windows 10 and a gtx 1660ti, i’ve tried several reinstalls and I can’t seem to get it to work no matter what I try. I had the same issue on my laptop which uses a 1660ti maxQ, is cuda incompatible with 1660s or am I missing something? Thank you in advance.