pytorch
0bf69278 - Reland: [TensorExpr] Add `CodeGen::call_raw` method. (#57551)

Commit
3 years ago
Reland: [TensorExpr] Add `CodeGen::call_raw` method. (#57551) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/57551 The new method allows to pass input and output arguments by `void*` pointers instead of CallArgs. That helps to reduce the invocation overhead. Currently this is only supported in LLVM codegen. Relanding #55113 (the entire stack) which was reverted because I forgot to guard a new test with `ifdef LLVM`. Test Plan: Imported from OSS Reviewed By: bertmaher Differential Revision: D28195049 Pulled By: ZolotukhinM fbshipit-source-id: 035b77ae996dbbcd542b4b0e4c011b41e8d7828b
Author
Mikhail Zolotukhin
Parents
Loading