1. 14

  2. 4


    No, please don’t say “GPUs” then, say “nvidia products”.

    The real ecosystem would be rust-gpu plus gpgpu or something.

    1. 1

      How do these projects work as nvidia have there own proprietary compiler?

      1. 3

        Nvidia’s proprietary compiler (NVCC) is actually just a wrapper around the host’s compiler and LLVM and reverse-engineering it isn’t that hard (in fact Google did it to implement CUDA support in LLVM and I did it in order to add support for CUDA in GNAT, GCC’s Ada frontend).

        1. 1

          Ironically, CUDA is incredibly well documented…

          1. 1

            Yes, I found it really odd that you could get so much information about the ISA, the execution model and even the various steps the toolchain goes through but nothing about the transformations happening to the source code. Fortunately gcc -E and nvcc --verbose --keep help a lot there :).