Ben Vanik

Results 416 comments of Ben Vanik

Really great breakdown Mahesh! These kind of patterns show up a lot and each of those steps are useful across a large number of situations (especially those open-coded in frameworks...

Yep! We've got a few issues tracking this (usually named something like "deduplicating dispatch executables"). #1144 is an ancient one that points out some more example of duplication. It's a...

The LLVM outliner may help on the CPU case (though I haven't seen it do anything - maybe there's a flag we can set?) but you're right that we want...

Ah yes `MPM.add(createIROutlinerPass());` - it'd be useful to have someone who is familiar with the available passes (you? :) check what ones we're running - it looks like we're just...

(oh, and our linker options are here: https://github.com/google/iree/blob/main/compiler/src/iree/compiler/Dialect/HAL/Target/LLVM/internal/EmbeddedLinkerTool.cpp#L154 - but if we can do anything in the bitcode before we pass it on to the linker that's going to be...

No one has ever really owned the options nor spent any time tuning them - for things relating to optimization consider what's there as throw-away and desperately in need of...

(out of curiosity, what's the latency of a shutdown/startup? would it be worth having a pool that doesn't suicide after every build for collaborators vs ones for public?)

Android i64 support is nearly non-existent (just some Tegra-like things, probably) and interestingly pre-M1 macOS never supported it (but all recent iOS and M1 macs do).