Using NVidia CUDA Toolkit for SQL Server in Containers in WSL2.
NVidia has developed the CUDA Toolkit library designed for developers, aimed to efficiently use the hardware resources. The CUDA Toolkit provides a different set of tools as well as programming guidelines for the different programming languages for the interoperability with the hardware.
Now NVida has released in the v11.2.1 a surprise that is a CUDA on WSL.
This feature is designed for the WSL Images to use of the GPU’s resource.
This is a great impowering for NVIDIA users to utilize their resources in their Windows Subsystem Linux boxes.
Setting up the CUDA Toolkit
First we will Open the Windows Terminal and get inside the WSL default box that we require to configure.
NOTE: This example is configured for distributions based on Apt.
Because the purpose for this excersise is to configure SQL Server in Containers using WSL2, then the distro to use here is Ubuntu, so that the Apt will work here.
Secondly will configure the CUDA repository keys and update the list to re

