GPU programming can be done on Lucia with the CECI account opened during the [INFO0939 course](https://people.montefiore.uliege.be/geuzaine/INFO0939/notes/gpu/).
## GPU programming using your own computer?
If you own a laptop with a nvidia graphics card, you can use OpenMP to offload some parts of your program to your local GPU. This would allow you to test and debug your OpenMP instructions locally before running them on Lucia.
GPU programming with OpenMP is only possible on computers running Linux or the Windows Subsystem for Linux (WSL) equipped with a nvidia graphics card.
### Windows: WSL
First, install WSL following [these instructions](https://learn.microsoft.com/en-us/windows/wsl/install), then follow the Linux instructions in a WSL terminal.
### Linux
#### install CUDA
The following commands are copied from the [CUDA Installation Guide for Linux](https://docs.nvidia.com/cuda/cuda-installation-guide-linux/)