pytorch
831f25c5 - add test/mobile/op_deps project for dependency analysis test (#29716)

Commit
5 years ago
add test/mobile/op_deps project for dependency analysis test (#29716) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/29716 Move out the test project from PR #29550 into this separate PR. It serves these purposes: - Defines the ".yaml" format to describe inter-op dependency. - Can be used as a small testbed for us to quickly experiment, evaluate and test different dependency analysis techniques (llvm-pass, linker, etc). - Covers various different c10 operator APIs and builds a runnable binary. I create a 'mobile' folder under 'test/' because I feel we can create a few other similar projects here to test mobile specific yet platform independent stuff, e.g.: - use host tool chain + mobile build options to do continuous E2E test; - test custom build workflow for mobile; Test Plan: - run build script and verify the binary is runnable: ``` scripts/build_mobile.sh test/mobile/op_deps/build.sh ``` Differential Revision: D18474641 Pulled By: ljk53 fbshipit-source-id: 3fae9da5e0e3fe6cb17ada8783d5da2f144a6194
Author
Parents
Loading