LLVM Backend for the VideoCore4, Raspberry Pi 2 VPU
1–10 of 54 posts
Re: LLVM Backend for the VideoCore4, Raspberry Pi 2 VPU
#2LLVM backends can be in a plugin, but you have to tell the frontend which target to use (so it can use the correct data-layout etc). Its the frontends that don't support plug-in targets. Clang, for example, hardcodes the supported targets.
A combination of using enums as a 'target triple' and lack of dynamic target registration conspire against easy-to-use out-of-tree targets :(
Re: LLVM Backend for the VideoCore4, Raspberry Pi 2 VPU
#3Re: LLVM Backend for the VideoCore4, Raspberry Pi 2 VPU
#4What can you do with this?
Re: LLVM Backend for the VideoCore4, Raspberry Pi 2 VPU
#5What can you do with this?
This has some additional info from the author: http://crna.cc/
Re: LLVM Backend for the VideoCore4, Raspberry Pi 2 VPU
#6Earlier quoted context omitted.
This has some additional info from the author: http://crna.cc/
I get that it's a compiler backend for the GPU of the Raspi, but what does that mean? I mean, can you compile arbitrary C code to run on the GPU? Is this for making a GPU firmware? Divers? games? Bitcoin miners?
Re: LLVM Backend for the VideoCore4, Raspberry Pi 2 VPU
#7Re: LLVM Backend for the VideoCore4, Raspberry Pi 2 VPU
#8What can you do with this?
Re: LLVM Backend for the VideoCore4, Raspberry Pi 2 VPU
#9It bugs me that LLVM targets are not properly 'plug in'. LLVM backends can be in a plugin, but you have to tell the frontend which target to use (so it can use the correct data-layout etc). Its the frontends that don't support plug-in targets. Clang, for example, hardcodes the supported targets. A combination of using enums as a 'target triple' and lack of dynamic target registration conspire against easy-to-use out-…
Re: LLVM Backend for the VideoCore4, Raspberry Pi 2 VPU
#10You can run C code on GPUs? I don't know anything about GPUs, but I thought they had a completely different programming model that requires different programming languages and paradigms.
http://www.broadcom.com/docs/support/videocore/VideoCoreIV-A...
Note that in this case, the author is writing the bootloader firmware so performance isn't a major concern, though.