|
|
|
|
|
by zeusk
1479 days ago
|
|
memcpy is more like copying a single line, to copy a rectangle you need to call it in a loop or use specialized blit hw/sw. How is MLIR different from LLVM IR? And tile/block processing is not that novel for generic compute, graphics use it for other reasons - mostly how the pixel data is in memory and how the pipeline scales with tile size. |
|
[1] "LLVM: A Compilation Framework for Lifelong Program Analysis & Transformation", Lattner and Adve. https://llvm.org/pubs/2004-01-30-CGO-LLVM.pdf
[2] “MLIR: Scaling Compiler Infrastructure for Domain Specific Computation”, Lattner et al. https://ieeexplore.ieee.org/document/9370308