Commit Graph

171 Commits

Author SHA1 Message Date
Tianqi Chen 71cb07aee7 [RPC] IOS RPC (#261) 2017-07-18 22:20:36 -07:00
Jian Weng 01cbc61a89 [API] Prefetch schedule supported (#258)
* prefetch interface added

* prefetch python comments modified. prefetch info data structure maintained.

* start injecting prefetches. first step (domain touch) implemented.

* domain touch tested.

* Prefetch ir_mutator and ir_visitor dispatch registered.

* modify domain touched from passing a func_ref to passing a tensor

* modify domain touched from passing a func_ref to passing a tensor

* modify Tensor copy to Tensor ref

* temp commit for rebase

* debug info removed, typo fixed, ready to rebase

* prefetch flatten test add!

* roll back builtin functions to side effect functions

* lint error fixed!

* add cache line size to storage flatten argument

* forgot modifications add

* change code style to dmlc-like; get rid of can_prove, use manually compute instead

* python lint error fixed

* modify instrinsic name to pass tests

* [TEST] get rid of str(), replace them by accessing attributes

* change map to list comprehension

* redundant numpy import removed
2017-07-18 09:40:54 -07:00
Tianqi Chen 7b6427e3a8 [RPC] Allow RPCServer to run without decorator (#257) 2017-07-17 13:40:42 -07:00
Tianqi Chen 8e51af2f94 [PASS] CombineContextCall (#255) 2017-07-16 22:48:31 -07:00
ziheng 204e9cb429 [EXECUTOR] Fix bug and improve (#252)
* [EXECUTOR] Fix bug and improve

* [EXECUTOR] Enhance test case
2017-07-16 14:54:08 -07:00
Tianqi Chen 8d241b9d86 [RPC] Allow back pressure from writer (#250)
* [RPC] Allow backpressure from writer

* fix

* fix
2017-07-15 18:23:20 -07:00
ziheng c6d4f5af20 [EXECUTOR] Enable load executor remotely (#245)
* [EXECUTOR] Enable load executor remotely

* [EXECUTOR] Pipeline

* Pass bytearray directly

* Enable load dynamic library in rpc_server.py

* Fix

* lint

* Return Module from remote side directly

* Remove unused header file

* Fix

* fix
2017-07-15 13:03:30 -07:00
Tianqi Chen 3f3bf29d5a [DOC] Make range related function consistent (#249) 2017-07-15 10:43:20 -07:00
Tianqi Chen 2ab0bfb589 [RENAME] nvcc_compiler->nvcc, cc_compiler->cc, metal_compiler->xcode (#248) 2017-07-15 09:41:44 -07:00
Tianqi Chen 7bcb3f538b [REFACTOR] collections->container, RPC returns func, time_evaluator r… (#244)
* [REFACTOR] collections->container, RPC returns func, time_evaluator returns struct

* fix executor
2017-07-13 22:30:22 -07:00
Tianqi Chen c324494f1a [RUNTIME][RPC] Change RPCServer to Event Driven Code (#243)
* [RUNTIME][RPC] Change RPCServer to Event Driven Code

* fix
2017-07-13 18:44:33 -07:00
Tianqi Chen 0a07411d54 [JS][WEB][BACKEND] Javascript(webassembly) backend. (#239) 2017-07-10 18:23:47 -07:00
Tianqi Chen adc06e6fbb [RUNTIME][ABI] Remove TVMValue as argument, use address (#236) 2017-07-09 18:02:56 -07:00
Tianqi Chen cd29c18c34 [RUNTIME][ABI] Flat structure arguments (#232) 2017-07-08 16:26:36 -07:00
Tianqi Chen 9d84cb0777 [RUNTIME] Add workspace pool (#229)
* [RUNTIME] Add workspace pool

* fix doc

* fix the free list

* avoid zero size
2017-07-07 23:19:57 -07:00
ziheng 5cdc860492 [TAG] Fix signature of decorated function (#228)
* [TAG] Fix signature of decorated function

* Add dep
2017-07-07 16:02:35 -07:00
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