Graphics chips have a lot of proprietary IP, some of which the manufacturers would like to keep secret. If you see source for one of these drivers, you will have a good idea about the hardware organization, so they keep everything secret. It stinks for us developers who want to write cross platform open source. The best bet right now, in my opinion, is to write CGO wrappers around platform native libraries, and sadly, they'll only work on some OS/hardware combinations.
On Fri, Jun 25, 2021 at 8:53 AM Nikolay Dubina <nikolay.dubina....@gmail.com> wrote: > I tried to write down my own CUDA / NVIDIA GPU driver in native Go last > weekend. To my great surprise, CUDA and pretty much all high performance > software/hardware from NVIDIA is proprietary close-source C/C++ code. > Meaning, you can't write native Go driver even if you wanted to. Forget Go, > people are trying to reverse engineer it in C/C++ with limited success. > From what I heard OpenCV is not a priority for NVIDIA either. Then I looked > up what Apple is doing with their Neural Engine in latest chips. It too is > closed-source Objective-C, Swift. I suspect situation with other powerful > hardware is the same. Moore's law seem to be about GPU lately, and everyone > is locking it in. Kind of not in the spirit open-source and Linux. That's > quite bad state of affairs for Go and computing in general. Yikes! > > Just want to see what others are thinking. > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/0913f098-700a-443f-bd02-2db7ad2408a6n%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/0913f098-700a-443f-bd02-2db7ad2408a6n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CA%2Bv29LvH8eZqX8ASryOgBexMVUUyDO%2BTQFtaxz8Y-EDi92hkEA%40mail.gmail.com.