Commit Graph

116 Commits

Author SHA1 Message Date
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
Tianqi Chen 2f462ccab5 [MODULE] Enable OpenCL and CUDA Modules (#53) 2017-02-25 20:08:02 -08:00
Tianqi Chen efae4be0bd [MODULE/REFACTOR] Introduce Module for AOT and runtime linking. (#51) 2017-02-24 10:32:11 -08:00
Tianqi Chen 8f240ee76d [CODEGEN/LLVM] Initial support for codegen LLVM. (#49)
* [LLVM] Initial support for codegen LLVM.

* Fix the naming issue of codegen
2017-02-22 10:47:54 -08:00
Tianqi Chen c8ec41118d [SCAN/Refactor] Refactor scan interface, enable fix point analysis. (#47) 2017-02-20 13:09:23 -08:00
Ziheng Jiang 5198c10010 [ARITH] DeduceBound (#40)
* [PYTHON/API] Add compare and logic build-in op for Expr

* remove 'and', 'or'

* add deducer

* [WIP] bound_deducer.cc

* move IntervalSet and StrideSet into int_set_internal.h

* add multiple failure for VariablePathFinder, add EvalSign

* consider round in deduce, add success flag

* remove Visit_(Div)

* add comment, update HalideIR

* expose intset to python

* check the sign of every expr

* set return type as ExprSignType

* fine tune

* add min & max python api for interval set

* support for conditional expr

* refactor test

* add checker for BoundDeducer

* add python check test

* fix

* fix

* change range to interval; remove converter

* remove converter declaration

* remove int_set_internal.h
2017-02-17 10:56:48 -08:00
Tianqi Chen d114dfc96e [SCHEDULE] Mutate dataflow in schedule, refactor Stage (#44) 2017-02-16 19:08:50 -08:00
Tianqi Chen 820a85975f [LANG] Introduce Scan, Bugfix Canonical (#43) 2017-02-13 16:39:07 -08:00
Tianqi Chen b8f0ec504c [LANG/PASS] InjectVirtualThread (#38) 2017-02-11 11:55:42 -08:00
Ziheng Jiang 526ff04c7e [PYTHON/API] Add compare and logic build-in op for Expr (#39)
* [PYTHON/API] Add compare and logic build-in op for Expr

* remove 'and', 'or'
2017-02-10 09:14:11 -08:00