Commit Graph

143 Commits

Author SHA1 Message Date
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
Tianqi Chen 6ab6bb3f7e [PYTHON] addon->contrib add docs (#107) 2017-04-27 20:34:16 -07:00
Tianqi Chen 535a97c968 [PYTHON/FFI] Enable Cython FFI (#106)
* [PYTHON/FFI] Enable Cython FFI

* fix cython
2017-04-27 15:20:29 -07:00
ziheng 26d91985c0 [LANG] CommReducer (#103)
* [LANG] CommReducer

* Reorganize c_api

* Remove InitValue and Combine; refactor Functor

* Make CommReducer an Expr

* Make comm_reducer type independent

* Make CommReducerNode a Node

* Small fix

* Refine

* Refine front api; add integration testcases for min/max

* Fix python

* Refine

* Fix lint and add example
2017-04-26 15:22:59 -07:00
Tianqi Chen 7e032457ce [PYTHON] Rename the namespace (#105) 2017-04-26 12:35:58 -07:00
Tianqi Chen e4c746684d [PASS] StorageRewrite, Memory optimization pass as in NNVM. (#104)
* [PASS] StorageRewrite, reuse memory pass as in NNVM.

* fix issue
2017-04-25 13:58:45 -07:00
Tianqi Chen 1c04f389dc [DEV/IR] Python IRBuilder (#102) 2017-04-22 13:35:30 -07:00
Tianqi Chen d17b10f0de [LANG/CODEGEN] Intrinsics and Extern Math (#101)
* [LANG/CODEGEN] Intrinsics and Extern Math

* fix lint
2017-04-22 09:08:47 -07:00
Tianqi Chen 181edb4aae [LANG] Change namespace convention to dot (#100) 2017-04-21 09:47:30 -07:00
Tianqi Chen 97c67e5383 [DOC] Scan tutorial (#98)
* [DOC] Scan tutorial

* Fix according to ziheng's comment
2017-04-20 09:27:19 -07:00
ziheng c0e5ec5665 [DOC] Add schedule_computaion (#92)
* [DOC] Add schedule_computaion

* Finetune the doc

* Finetune the doc

* Finetune the doc

* Set max_unroll_step=0 by default
2017-04-17 22:54:26 -07:00
Tianqi Chen 93057c8aa9 [BUILD] add with_api_wrapper to lower (#95) 2017-04-17 20:22:40 -07:00
Tianqi Chen 3b8ad0a228 [SCHEDULE] Normalize returns a new schedule (#94) 2017-04-17 18:03:12 -07:00