3 ms·
Seems to me that a full CPU is overkill for this; a hybrid approach where you just have some arithmetic on vectors, with no program counter or branching really,
by cmrdporcupine 7y ago
Seems to me that a full CPU is overkill for this; a hybrid approach where you just have some arithmetic on vectors, with no program counter or branching really, could be effective without adding a bunch of complexity.
Also seems like concurrency and data consistency issues could arise pretty drastically when each memory unit is potentially making changes independent of the processor...
And what about CPU cache coherency?
- flaviu1 7y agoIt uses a custom CPU and ISA that's specialized for the application: https://www.anandtech.com/show/14750/hot-chips-31-analysis-inmemory-processing-by-upmem/2 https://www.anandtech.com/show/14750/hot-chips-31-analysis-i... > Internally the DPU uses an optimized 32-bit ISA with triadic instructions, with non-destructive operand compute. As mentioned, the optimized ISA contains a range of typical instructions that can easily be farmed out to in-memory compute, such as SHIFT+ADD/SHIFT+SUB, basic logic (NAND, NOR, ORN, ANDN, NXOR), shift and rotate instructions Re. CPU cache coherency, they have a software library that automagically hides that: https://images.anandtech.com/doci/14750/HC31.UPMEM.FabriceDevaux.v2_1-page-018.jpg https://images.anandtech.com/doci/14750/HC31.UPMEM.FabriceDe... Not exactly sure how it works, I'm not super familiar with the internals of CPUs.