News for hackers. Stuff that matters.
Re:Tesla’s Neural Processor In The FSD Chip by pjc50 on Friday September 27, 2019 @06:28AM (#21090324)
Write some custom code. Probably in assembler, because it's an unusual special-purpose architecture.

> The ISA consists of instructions with up to 4 slots with complex values. There are only eight instructions in total – two DMA read and write, three dot-product operations, and scaling and element-wise addition.

That's not something you're going to target with a standard compiler. It doesn't even have any control flow instructions. Effectively they've built a "convolve machine": all they have to do is set up the addresses for the areas of memory containing the image and the weights, let it run, and collect the result.

There are no comments on this comment yet.