torch-mlir/include/npcomp/RefBackend/Runtime
Bryce Arden 4591884d06 [refbackrt] Scalar arg support
* Adds f32 scalar argument support across the ABI boundary.
* Adds support for passing input type / shape information
  across the ABI boundary
* Adds support for parsing / creating input FloatAttr's in
  `npcomp-run-mlir`
2021-03-23 13:16:44 -07:00
..
README.md [RefBackend] Rename Npcomprt dialect to Refbackrt. 2020-10-08 09:07:00 -07:00
Support.h [refbackrt] Scalar arg support 2021-03-23 13:16:44 -07:00
UserAPI.h [refbackrt] Scalar arg support 2021-03-23 13:16:44 -07:00

README.md

Refbackrt (namespace refbackrt) is the runtime support library for the RefBackend backend. It is best practice to keep compiler and runtime code totally firewalled.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! As such, this directory should have NO DEPENDENCIES ON COMPILER CODE (no LLVM libSupport, etc.). !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

This will cause some duplication, but history has shown that this firewalling pays big dividends. In particular, compiler code very frequently has binary sizes that are simply unacceptable in runtime scenarios, such as MByte-sized dependencies like LLVM libSupport. Runtime code should fit in kBytes.