Commit Graph

155 Commits

Author SHA1 Message Date
Tianqi Chen 72fcd4e6ee [RUNTIME] Add System Lib (#227)
* [RUNTIME] Add System Lib

* lint

* lint

* fix compile
2017-07-07 12:16:37 -07:00
Tianqi Chen 825566ccff [SCHEDULE] tensorize (#223) 2017-07-06 13:56:39 -07:00
Tianqi Chen 28120f554c [C API] Make DSL API registerable, add copy from/to raw bytes (#222)
* [C API] Make DSL API registerable, add copy from/to raw bytes

* fix cython
2017-07-06 11:34:08 -07:00
Tianqi Chen 0a19b16ac0 [CODEGEN/PASS] add restricted, alignment option (#221)
* [CODEGEN/PASS] add restricted, alignment option

* fix lint

* Fix the alloca
2017-07-05 23:21:42 -07:00
Tianqi Chen 00506a62e7 [IR] Add body to AssertStmt (#220)
* [IR] Add body to AssertStmt

* fix lint
2017-07-05 17:55:34 -07:00
ziheng c9da7254ba [TAG] Add tvm.tag module for tagging operator (#217)
* [TAG] Add op_tag module for tagging operator

* Fix accroading to comments

* Add example

* Add into doc

* Add --fix-missing for docker
2017-07-04 22:27:48 -07:00
Tianqi Chen 4bb3c35a05 [REFACTOR/PASS] Formalize argument bind and match util (#214)
* [REFACTOR/PASS] Formalize argument bind and match util

* grammar
2017-07-04 10:30:24 -07:00
Tianqi Chen 3c19159587 [DOCS] fix doc builder (#213)
* [DOCS] fix doc builder

* fix

* fix

* fix doc builder
2017-07-03 21:01:42 -04:00
Tianqi Chen 623748a698 Switch off global barrier detection by default (#211) 2017-07-03 16:31:50 -04:00
Tianqi Chen 34d2aae351 [BUFFER/REFACTOR] Buffer byte_offset-> elem_offset, add buffer_bind_scope (#209) 2017-07-03 14:13:52 -04:00
Tianqi Chen 5a7a056c3c [LANG/BUFFER] Change buffer arguments to match DLPack order, add scope (#203) 2017-06-30 10:34:07 -04:00
ziheng 7b8218512a [CONTRIB/NNPACK] Add NNPack Fully Connected Functions (#199)
* Add NNPack Fully Connected Inference

* Add NNPack fully_connected_output

* Fix lint

* Fix
2017-06-29 21:32:34 -04:00
ziheng 29d5ffbbbe [INTRINSIC] Add sqrt (#202)
* [INTRINSIC] Add sqrt

* [INTRINSIC] Expose on cpp
2017-06-27 19:53:57 -04:00
Haichen Shen 69aefaa388 [LANG] Add all and any in the python API (#196)
* [LANG] Add all and any in the python API

* compatible with python3
2017-06-22 16:18:12 -07:00
ziheng 7cc92ace2c [LANG] Expose tvm.cast (#195)
* [LANG] Expose tvm.cast

* Update

* Add unittest
2017-06-22 12:47:41 -07:00
Tianqi Chen 5445061469 [CODEGEN] More storage alignment info aware generation (#186)
* [CODEGEN] More storage alignment info aware generation

* fix

* fix

* fix warning
2017-06-17 19:00:47 -07:00
ziheng fcfec961a5 [TUTORIAL] Cross Compilation and RPC (#184)
* [TUTORIAL] Add tutorial for RPC

* [TUTORIAL] Update tutorial

* [TUTORIAL] Update tutorial

* trigger update

* [TUTORIAL] Improve build
2017-06-16 14:15:00 -07:00
Tianqi Chen 204ad63bd4 [NNVM] Example NNVM integration. (#182) 2017-06-15 09:45:18 -07:00
ziheng f467f66e32 Support for Tuple Inputs of Reducer and ComputeOp (#175)
* Support for batch ComputeOp

* Support for batch ComputeOp

* Fix CrossThreadReduction

* Fix lint

* Add UpdateArray, remove support for batch reduce

* Tuple input support for reduce

* rfactor works with multiple reducer; support multiple reducers with different types

* Small fix

* Small fix

* Change return type of rfactor to Array<Expr>

* Fix lint

* Improve

* Add tutorial

* Improve tutorial

* Improve tutorial
2017-06-10 23:28:52 -07:00
Tianqi Chen ef50162b95 [MODULE/RUNTIME] Remove Precompile, simplify module (#174) 2017-06-05 22:00:22 -07:00
ziheng 84aeaf4803 Change Schedule Array constructor to static make method (#170)
* Change Schedule Array constructor to static make method

* Add CreateSchedule

* Add doc

* Change CreateSchedule to create_schedule at cpp side
2017-06-04 17:34:14 -07:00
Tianqi Chen 3bf7246929 [BUILD/CODEGEN] Allow combine multiple functions in build stage. (#169)
* [BUILD/CODEGEN] Allow combine multiple functions in build stage.

* Enhance code module

* fix compile
2017-06-04 15:47:18 -07:00
Tianqi Chen 5912ed034e [PERF/TIMER] Add builtin timing logic (#168)
* [PERF/TIMER] Add buildin timing logic

* fix lint
2017-06-03 09:06:28 -07:00
Tianqi Chen 46b4a91404 [PASS] Refactor build config, allow implicit unroll pragma (#167) 2017-06-02 11:32:53 -07:00
Tianqi Chen 46c56e28d3 [EXAMPLE/PYTHON] Improve extension type, add operator lib (#162) 2017-05-30 22:03:52 -07:00
Tianqi Chen 560463e9dc [BUILD] Enable RTTI of most part of library, example extension pkg. (#161) 2017-05-30 21:17:52 -07:00
Tianqi Chen 1efc4ca005 [CODEGEN/RUNTIME] Cross Compile Test (#160) 2017-05-25 09:41:24 -07:00
Tianqi Chen 1d0d876b7c [TEST/CI] 32bit compatibility and CI. (#159) 2017-05-24 19:06:32 -07:00
Tianqi Chen 5896761659 [TESTS] Jenkins test flow (#152) 2017-05-22 16:04:31 -07:00
Tianqi Chen 1ea72d6f29 [DLPACK] Upgrade to the latest version (#150) 2017-05-21 13:16:12 -07:00
Yizhi Liu 050bc91bbb add tvm.select (#148) 2017-05-20 20:37:55 -07:00
Tianqi Chen 134c6ba335 [RUNTIME] RPC runtime that support run testing on remote device. (#147)
* [RUNTIME] RPC runtime that support run testing on remote device.

* Fix ctypes in OSX.

* fix lint
2017-05-20 09:05:12 -07:00
Yizhi Liu 23d72ee094 fix doc examples & easy install (#143) 2017-05-16 08:50:22 -07:00
Tianqi Chen 03b09f749f [PASS] Improve SSA conversion, add forbid list in loop-par (#142) 2017-05-15 17:32:13 -07:00
Tianqi Chen 979623e56e [Tutorial] External Tensor Op (#137) 2017-05-12 11:25:51 -07:00
Tianqi Chen 553657eb74 [PYTHON] Support DLTensor compatible API (#136)
* [PYTHON] Support DLTensor compatible API

* optimize for common path
2017-05-11 22:05:23 -07:00
Tianqi Chen e3695cad85 [BUGFIX/PASS] Fix Vectorize with If condition (#135) 2017-05-09 23:19:44 -07:00
ziheng e9debc9be4 [PASS] Use likely tag & enable LoopPartition by default (#132)
* [PASS] Use likely tag & enable LoopPartition by default

* [PASS] Support thread_axis partition

* Take IfThenElse branch method

* [PASS] Insert branch at the innermost thread scope

* [PASS] Select candidates before trying to partition & add test for select

* [PASS] Clean code

* Fix

* Remove print & assert vectorize happens
2017-05-09 22:44:30 -07:00
Tianqi Chen c89cd59a87 [MODULE/DSO] Support pack everything into one shared library. (#133)
* [MODULE/DSO] Support pack everything into one shared library.

* fix osx load
2017-05-08 22:19:20 -07:00
Tianqi Chen bf8a5c07de [SCHEDULE] Add store_predicate (#131) 2017-05-08 09:20:56 -07:00
ziheng 2112a1f923 [FIX] Miss kUInt in TypeCode2Str & dir method (#130)
* [FIX] Miss kUInt in TypeCode2Str & dir method

* [FIX] Add regression test
2017-05-07 18:24:41 -07:00
Tianqi Chen a64a0f5ff2 [BUGFIX/REGRESSION] Complex inline call, regression test on lstm cell (#128) 2017-05-07 12:45:56 -07:00
Tianqi Chen de6dd0cb10 [BUGFIX] Fix schedule dataflow rewrite with multiple scan states (#126) 2017-05-07 08:44:53 -07:00
Tianqi Chen be1a29edb2 [CMAKE] Windows support upgrade (#125)
* [CMAKE] Windows support upgrade

* Fix lint
2017-05-06 19:48:10 -07:00
Tianqi Chen f364d563c2 [CONTRIB/BLAS] Add CBLAS Example to contrib (#120)
* [CONTRIB/BLAS] Add CBLAS Example to contrib

* Update makefile
2017-05-05 10:55:34 -07:00
Tianqi Chen 8a5b6c21ad [DOC] Doc redirection (#119)
* [DOC] Doc redirection

* fix setup url
2017-05-04 16:13:08 -07:00
Tianqi Chen 305614a9e4 [PYTHON] Enable cython ndarray API (#113) 2017-05-02 12:01:44 -07:00
Tianqi Chen 706f9b6f7e [CODEGEN/RUNTIME] Metal support, runtime improvement. (#111)
* [CODEGEN/RUNTIME] Metal support, runtime improvement.

* Fix case when no device is available
2017-05-02 10:14:45 -07:00
Tianqi Chen 9ba40dc0fe [CODEGEN/PASS] Improve callpacked lowering, allow pass array callback. (#110)
* [CODEGEN/PASS] Improve callpacked lowering, allow pass array callback.

* fix cython
2017-04-29 19:43:04 -07:00
ziheng d45b6d4b84 [DOC] Add intro to 'comm_reducer' in tutorial; fix doc (#108)
* [DOC] Add intro to 'comm_reducer' in tutorial; fix doc

* Fix

* Fix
2017-04-29 14:39:24 -07:00