[Target] Creating Target from JSON-like Configuration (#6218)
authorJunru Shao <junrushao1994@gmail.com>
Sat, 15 Aug 2020 01:33:37 +0000 (18:33 -0700)
committerGitHub <noreply@github.com>
Sat, 15 Aug 2020 01:33:37 +0000 (18:33 -0700)
commit38a44c82b1af6652b83fbbf9f055e9aa7c0b5ba0
tree1716ccf7ef408c93b0a02a997784c7b1b2a4a1e1
parentaa0271ec3a4e78f648aca83fd771a5554b6af355
[Target] Creating Target from JSON-like Configuration (#6218)

* [Target] Creating Target from JSON-like Configuration

* Address comments from Cody

* fix unittest

* More testcases as suggested by @comaniac
include/tvm/target/target.h
include/tvm/target/target_kind.h
src/target/target.cc
src/target/target_kind.cc
tests/cpp/target_test.cc