HomePhabricator

Add mechanism to dump JIT-compiled objects to files

Authored by jpienaar on Aug 30 2019, 1:01 PM.

Description

Add mechanism to dump JIT-compiled objects to files

This commit introduces the bits to be able to dump JIT-compile
objects to external files by passing an object cache to OrcJit.
The new functionality is tested in mlir-cpu-runner under the flag
dump-object-file.

Closes tensorflow/mlir#95

PiperOrigin-RevId: 266439265

Details

Event Timeline

A. Unique TensorFlower <gardener@tensorflow.org> committed rG06e8101034e7: Add mechanism to dump JIT-compiled objects to files (authored by jpienaar).Aug 30 2019, 1:02 PM