3 ms·
> compared to the uniquely hellacious experience of installing CUDA drivers on Ubuntu, this seemed to be... a single header file, and a single .c file. > Turns
by rrss 5y ago
> compared to the uniquely hellacious experience of installing CUDA drivers on Ubuntu, this seemed to be... a single header file, and a single .c file.
> Turns out, it is that easy: https://twitter.com/theshawwn/status/1400749405356052483 https://twitter.com/theshawwn/status/1400749405356052483
> And not because there's some SDK preinstalled
Maybe not an SDK, but AFAICT it is that easy because all the drivers and stuff are already installed.
If you start with the drivers already installed, this is exactly how GPGPU works too. You can write an almost-identical program using OpenCL (or CUDA) instead of libtpu, the only difference is that instead of this HLO the program is in SPIR-V (or OpenCL C, PTX, CUDA C).
And you can start with all the drivers installed by using GCP or AMI images with all the GPU stuffs preinstalled.
It is awesome that this is accessible for free.