Commit Graph

125 Commits

Author SHA1 Message Date
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
Tianqi Chen f4a1533430 [DOC] move comments to file header (#91) 2017-04-16 22:03:52 -07:00
Tianqi Chen b8234498d7 [DOC] API doc organization. (#90)
* [DOC] API doc organization.

* remove breathe for now
2017-04-16 09:02:16 -07:00
ziheng b5702eca64 [DOC] Add setup.py, fix comments (#89)
* Add setup.py, fix comments

* Update installation document
2017-04-15 14:45:17 -07:00
Tianqi Chen ca5929e949 [DOC] Initial doc system (#88)
* [DOC] Initial doc system

* Migrate API

* Update docs
2017-04-15 12:37:43 -07:00
Tianqi Chen 4d2809058c [PERF] Persitent kernel (#87)
* [PERF] Persitent kernel

* fix doc
2017-04-14 22:06:41 -07:00
Tianqi Chen 8f51c5fd79 [SCHEDULE] Add group, refactor thread bind api. (#82)
* [SCHEDULE] Add group, refactor thread bind api.

* fix doc

* fix g++-4.8

* More testscase

* Remove graph context from fix pt analysis
2017-04-08 23:31:52 -07:00
Tianqi Chen 54593ca1cc [LANG/GPU] Cross Thread Reduction (#79)
* [LANG/GPU] Cross Thread Reduction.

* Fix doxygen error

* Upgrade verilog testcase to new one
2017-03-31 21:47:54 -07:00
Tianqi Chen 6d79877863 [LANG/SCHEDULE] Reduction factor, predicate in reduction. (#77) 2017-03-29 11:34:56 -07:00
Tianqi Chen df6fcc509c [CODEGEN] Refactor common codegen, Verilog Codegen (#74)
* [CODEGEN] Refactor common codegen, Verilog Codegen

* fix make

* fix mk

* update enable signal

* change function name to at neg edge

* Move test to correct place
2017-03-25 18:26:28 -07:00
Tianqi Chen 9ebb57b331 [VERILOG] VPI Mem Interface/ VPI MMap (#73)
* [VERILOG] VPI Mem Interface/ VPI MMap

* fix test issues
2017-03-17 13:04:17 -07:00
Tianqi Chen 3957926e59 [RUNTIME] Make rutnime DLPack compatible, allow new device plugin (#71)
* [RUNTIME] Refactor runtime to be DLPack compatible. Enable plugin of new runtime.

* fix mac compile

* ok
2017-03-14 15:59:23 -07:00
Tianqi Chen 9e660dbe74 [VERILOG] Basic Verilog Testflow (#70)
* [VERILOG] Basic Verilog Testflow

* fix build

* fix the comment

* fix lint in verilog
2017-03-13 21:28:03 -07:00
Tianqi Chen 2548cedcb8 [OP/LANG] Support Extern Call, more regression tests (#69)
* [OP/LANG] Support Extern Call, more regression tests

* [TEST] Include pylintrc
2017-03-12 11:34:04 -07:00
Tianqi Chen 88338826a4 [BUGFIX/TESTS] Bugfix of Tenso slicing. Union. (#66) 2017-03-07 11:37:11 -08:00
Tianqi Chen 3fb8579695 [REFACTOR] Add Types to IterVar, Isolate Operator (#62)
* [IterVar/REFACTOR] Add types to IterVar

* [ARITH/REFACTOR] Move IntSet to include

* [REFACTOR/OP] Move Op detail to seperate folder.

* fix test
2017-03-05 12:45:02 -08:00
Tianqi Chen 7133448330 [VISITOR] New ExprFunctor, StmtFunctor Interface. Modular analysis (#58)
* [ARITH/VISITOR] Modular Analysis, ExprFunctor, StmtFunctor

* retrigger

* [IRFunctor] Migrated CodegenC

* [IRFUNCTOR] Migrate CodeGenLLVM

* [IRFunctor] Migrate canonical

* [IRFunctor] Migrate vectorize

* [IRFunctor] migrate CodeGenStackVM
2017-02-28 16:16:09 -08:00
Tianqi Chen e43879405b [BUILD] Windows build pass on LLVM/CUDA/OPENCL (#57) 2017-02-27 14:30:46 -08:00
Tianqi Chen f6c043eb79 [LLVM/RUNTIME] Support Parallel for on CPU (#54) 2017-02-25 23:20:39 -08:00