Nvidia GPUs
The programming ecosystem for Nvidia GPUs is generally considered to be more mature than that for AMD and Intel GPUs. But it could also be argued that it is still confusing. So herewith some notes generated as I attempted to deconfuse myself. As ever on this site, the notes assume Linux, not Windows.
Currently Nvidia GPUs rarely share memory with their host CPU, so data (and code) must be copied from host to card, and back again.