I am trying to run a CUDA application, which was already running on GTX960, on my laptop with MX250.
All CUDA APIs were returning with “initialization error”.
I am running on Windows10 64bit (on both PCs) and using CUDA Toolkit 11.1.
What driver is installed? Each CUDA version requires a minimum driver version. For CUDA 11.1 on Windows, driver version must be >=456.38
Did you simply move over an existing CUDA-accelerated binary from your previous machine? That may not work, depending on how the application was compiled. There is no binary compatibility across GPU architectures. The application needs either machine code for the GPU it is running on, or intermediate PTX code that can be JIT-compiled for the current GPU. I would suggest re-compiling the CUDA application for the GPU architecture of your MX 250 (it seems to be a Pascal-family device with compute capability sm_61).