-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[API] Remove support for Python 2 #143
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Are you going to pump it from 2.7 directly to 3.7 instead of 3.6? |
I see. I'll go for 3.6 then. Thanks for the advice. |
seanlatias
added a commit
that referenced
this pull request
Jan 13, 2020
…CircleCI (#145) * [API] Enable building a function directly from IR (#133) * add a pass for building a function directly from IR * remove redundant print statement * [API] Enable select API to accept Python expressions * [API] Fixed incorrect casting for select in CastRemover * [API][Backend] Streaming and OpenCL Backends (#138) * add sdaccel, aocl for heterocl * fpga * Create codeanalys_openclc.cc * Update target.py * run * can run successfully * Create codegen_opencl.cc * now * all done * Update codegen_sdaccel.cc * Update codegen_sdaccel.cc * modified: python/heterocl/tvm/target.py * new file: samples/ppac/gemm/csrcPrint.py new file: samples/ppac/gemm/data.py new file: samples/ppac/gemm/gemm_ppac.py new file: samples/ppac/gemm/headcode.txt new file: samples/ppac/gemm/ppac_common.py new file: tvm/src/codegen/build_ppac.cc new file: tvm/src/codegen/codegen_rv64_ppac.cc new file: tvm/src/codegen/codegen_rv64_ppac.h * all * remove tvm check code from kernel * opencl-backend * all * fix ppac module build * support ppac MVPb pragma * fix ignoring ppac pragma in cpu backend * opencl-backend * aocl-backend * move ppac codegen to ppac folder; fix argument name with merlinc analyser * discard the new for-loop type; include ppac in hlib * discard some previous changes * Use int64_t as return type of GeMM on ppac * [add] codegenc kernedef + stream init * [add] var_shape_map * [update] kerneldef struct shape * [update] use noderef and restore * [fix] return op * [add] hcl device & kernelstmt printer * [fix] def workaround * [update] stream example * [add] stream expr & stmt ir * [fix] kernel arg location for stream * opt1 * opencl-general * new-version * no bug * a * test+unroll+pipeline * pragma * new * type has fixed * new_test * test_reorder_split_fuse * target * order * simplified by rui * analysis * bug fixed * [delete] all of the code about opencl * [ADD] new opencl back-end including xilinx & intel * fixed __local * fixed data_type for xilinx opencl * add makefile for SDAccel_runtime * add the runtime for sdaccel * create the sdaccel host * fixed the indent problem partly * test the zhang-05 server * add indent to the host.cpp * automatically generate makefile * delete common folder from opencl * add shmat to sdaccel runtime * fixed bug for sdaccel runtime seg fault * fixed the bug of host.cpp multiple * fixed host.cpp multiple bug * fixed endif for makefile * modify sdaccel_sw_emu -> sdaccel_csim * fix the __local and __global for intel opencl back-end * Fix the arbitrary integer precision for aocl * [add] ir visitor & functor for codegen * [add] aocl stream codegen * [add] aocl stream support * [fix] aocl type conversion * [fix] aocl channel syntax * [add] sch.stream_to * [fix] add stream annotation * [add] host device codegen * [add] stream ir mutator * [Add] Interface prag,a for SDx sim * [add] host xcel codegen * [update] build interface * [update] new build interface * [fix] temp update * [update] stream example * [add] rocc-ppac sim * [rm] submodule * [update] rocc ppac hlib * [add] unified sim & kernel updater * re-organize build common util * [update] stream in codegen c * [update] codegen construct for streaming * [update] code post-processing * [fix] test cases * [fix] python compatibility * [update] future * [fix] metaclass * [fix] test import issue * Revert "[API][Backend] Streaming and OpenCL Backends (#138)" (#139) This reverts commit 2c75344. * [API] Remove support for Python 2 (#143) * remove support for Python 2 * switch from Python 3.7 to 3.6 * add tvm installation * wrong directory * fix path * set USE_LLVM OFF for tvm Co-authored-by: Shaojie Xiang <[email protected]>
seanlatias
added a commit
that referenced
this pull request
Mar 15, 2020
… devices (#167) * [API] Enable building a function directly from IR (#133) * add a pass for building a function directly from IR * remove redundant print statement * [API] Enable select API to accept Python expressions * [API] Fixed incorrect casting for select in CastRemover * [API][Backend] Streaming and OpenCL Backends (#138) * add sdaccel, aocl for heterocl * fpga * Create codeanalys_openclc.cc * Update target.py * run * can run successfully * Create codegen_opencl.cc * now * all done * Update codegen_sdaccel.cc * Update codegen_sdaccel.cc * modified: python/heterocl/tvm/target.py * new file: samples/ppac/gemm/csrcPrint.py new file: samples/ppac/gemm/data.py new file: samples/ppac/gemm/gemm_ppac.py new file: samples/ppac/gemm/headcode.txt new file: samples/ppac/gemm/ppac_common.py new file: tvm/src/codegen/build_ppac.cc new file: tvm/src/codegen/codegen_rv64_ppac.cc new file: tvm/src/codegen/codegen_rv64_ppac.h * all * remove tvm check code from kernel * opencl-backend * all * fix ppac module build * support ppac MVPb pragma * fix ignoring ppac pragma in cpu backend * opencl-backend * aocl-backend * move ppac codegen to ppac folder; fix argument name with merlinc analyser * discard the new for-loop type; include ppac in hlib * discard some previous changes * Use int64_t as return type of GeMM on ppac * [add] codegenc kernedef + stream init * [add] var_shape_map * [update] kerneldef struct shape * [update] use noderef and restore * [fix] return op * [add] hcl device & kernelstmt printer * [fix] def workaround * [update] stream example * [add] stream expr & stmt ir * [fix] kernel arg location for stream * opt1 * opencl-general * new-version * no bug * a * test+unroll+pipeline * pragma * new * type has fixed * new_test * test_reorder_split_fuse * target * order * simplified by rui * analysis * bug fixed * [delete] all of the code about opencl * [ADD] new opencl back-end including xilinx & intel * fixed __local * fixed data_type for xilinx opencl * add makefile for SDAccel_runtime * add the runtime for sdaccel * create the sdaccel host * fixed the indent problem partly * test the zhang-05 server * add indent to the host.cpp * automatically generate makefile * delete common folder from opencl * add shmat to sdaccel runtime * fixed bug for sdaccel runtime seg fault * fixed the bug of host.cpp multiple * fixed host.cpp multiple bug * fixed endif for makefile * modify sdaccel_sw_emu -> sdaccel_csim * fix the __local and __global for intel opencl back-end * Fix the arbitrary integer precision for aocl * [add] ir visitor & functor for codegen * [add] aocl stream codegen * [add] aocl stream support * [fix] aocl type conversion * [fix] aocl channel syntax * [add] sch.stream_to * [fix] add stream annotation * [add] host device codegen * [add] stream ir mutator * [Add] Interface prag,a for SDx sim * [add] host xcel codegen * [update] build interface * [update] new build interface * [fix] temp update * [update] stream example * [add] rocc-ppac sim * [rm] submodule * [update] rocc ppac hlib * [add] unified sim & kernel updater * re-organize build common util * [update] stream in codegen c * [update] codegen construct for streaming * [update] code post-processing * [fix] test cases * [fix] python compatibility * [update] future * [fix] metaclass * [fix] test import issue * Revert "[API][Backend] Streaming and OpenCL Backends (#138)" (#139) This reverts commit 2c75344. * [API] Remove support for Python 2 (#143) * remove support for Python 2 * switch from Python 3.7 to 3.6 * [Backend] Fix LLVM CodeGen for intrinsics (#147) * Fix llvm codegen for instrinsic log, pow, and sqrt * fix test case * [Backend] Fix LLVM power intrinsic with large integer (#151) * fix llvm power with large integer * fix test case * [API] Fix Wrong Index Calculation in API reuse_at (#156) * init stream to * graph ir scheduling * tvm build module * graph ir reorder works * super stage pass * move streaming mutation to ir pass * fix op merge issue * fix combination * disable sch reorder without movement * cleanup * multicast support * fix store index * api update * testcase * update api + testcase Co-authored-by: Yi-Hsiang (Sean) Lai <[email protected]>
seanlatias
added a commit
that referenced
this pull request
Mar 28, 2020
…or HeteroCL (#162) * [API] Enable building a function directly from IR (#133) * add a pass for building a function directly from IR * remove redundant print statement * [API] Enable select API to accept Python expressions * [API] Fixed incorrect casting for select in CastRemover * [API][Backend] Streaming and OpenCL Backends (#138) * add sdaccel, aocl for heterocl * fpga * Create codeanalys_openclc.cc * Update target.py * run * can run successfully * Create codegen_opencl.cc * now * all done * Update codegen_sdaccel.cc * Update codegen_sdaccel.cc * modified: python/heterocl/tvm/target.py * new file: samples/ppac/gemm/csrcPrint.py new file: samples/ppac/gemm/data.py new file: samples/ppac/gemm/gemm_ppac.py new file: samples/ppac/gemm/headcode.txt new file: samples/ppac/gemm/ppac_common.py new file: tvm/src/codegen/build_ppac.cc new file: tvm/src/codegen/codegen_rv64_ppac.cc new file: tvm/src/codegen/codegen_rv64_ppac.h * all * remove tvm check code from kernel * opencl-backend * all * fix ppac module build * support ppac MVPb pragma * fix ignoring ppac pragma in cpu backend * opencl-backend * aocl-backend * move ppac codegen to ppac folder; fix argument name with merlinc analyser * discard the new for-loop type; include ppac in hlib * discard some previous changes * Use int64_t as return type of GeMM on ppac * [add] codegenc kernedef + stream init * [add] var_shape_map * [update] kerneldef struct shape * [update] use noderef and restore * [fix] return op * [add] hcl device & kernelstmt printer * [fix] def workaround * [update] stream example * [add] stream expr & stmt ir * [fix] kernel arg location for stream * opt1 * opencl-general * new-version * no bug * a * test+unroll+pipeline * pragma * new * type has fixed * new_test * test_reorder_split_fuse * target * order * simplified by rui * analysis * bug fixed * [delete] all of the code about opencl * [ADD] new opencl back-end including xilinx & intel * fixed __local * fixed data_type for xilinx opencl * add makefile for SDAccel_runtime * add the runtime for sdaccel * create the sdaccel host * fixed the indent problem partly * test the zhang-05 server * add indent to the host.cpp * automatically generate makefile * delete common folder from opencl * add shmat to sdaccel runtime * fixed bug for sdaccel runtime seg fault * fixed the bug of host.cpp multiple * fixed host.cpp multiple bug * fixed endif for makefile * modify sdaccel_sw_emu -> sdaccel_csim * fix the __local and __global for intel opencl back-end * Fix the arbitrary integer precision for aocl * [add] ir visitor & functor for codegen * [add] aocl stream codegen * [add] aocl stream support * [fix] aocl type conversion * [fix] aocl channel syntax * [add] sch.stream_to * [fix] add stream annotation * [add] host device codegen * [add] stream ir mutator * [Add] Interface prag,a for SDx sim * [add] host xcel codegen * [update] build interface * [update] new build interface * [fix] temp update * [update] stream example * [add] rocc-ppac sim * [rm] submodule * [update] rocc ppac hlib * [add] unified sim & kernel updater * re-organize build common util * [update] stream in codegen c * [update] codegen construct for streaming * [update] code post-processing * [fix] test cases * [fix] python compatibility * [update] future * [fix] metaclass * [fix] test import issue * Revert "[API][Backend] Streaming and OpenCL Backends (#138)" (#139) This reverts commit 2c75344. * [API] Remove support for Python 2 (#143) * remove support for Python 2 * switch from Python 3.7 to 3.6 * [Backend] Fix LLVM CodeGen for intrinsics (#147) * Fix llvm codegen for instrinsic log, pow, and sqrt * fix test case * [Backend] Fix LLVM power intrinsic with large integer (#151) * fix llvm power with large integer * fix test case * [API] Fix Wrong Index Calculation in API reuse_at (#156) * codegen interface * tool config + fixed codegen issue * update tempaltes * hcl vitis runtime * vivado hls sim works * vitis flow * aocl flow * aocl dtype * clean up gemm * fix and systolic array example * clean up Co-authored-by: Yi-Hsiang (Sean) Lai <[email protected]> Co-authored-by: Shaojie Xiang <[email protected]>
seanlatias
added a commit
that referenced
this pull request
May 3, 2020
* [API] Enable building a function directly from IR (#133) * add a pass for building a function directly from IR * remove redundant print statement * [API] Enable select API to accept Python expressions * [API] Fixed incorrect casting for select in CastRemover * [API][Backend] Streaming and OpenCL Backends (#138) * add sdaccel, aocl for heterocl * fpga * Create codeanalys_openclc.cc * Update target.py * run * can run successfully * Create codegen_opencl.cc * now * all done * Update codegen_sdaccel.cc * Update codegen_sdaccel.cc * modified: python/heterocl/tvm/target.py * new file: samples/ppac/gemm/csrcPrint.py new file: samples/ppac/gemm/data.py new file: samples/ppac/gemm/gemm_ppac.py new file: samples/ppac/gemm/headcode.txt new file: samples/ppac/gemm/ppac_common.py new file: tvm/src/codegen/build_ppac.cc new file: tvm/src/codegen/codegen_rv64_ppac.cc new file: tvm/src/codegen/codegen_rv64_ppac.h * all * remove tvm check code from kernel * opencl-backend * all * fix ppac module build * support ppac MVPb pragma * fix ignoring ppac pragma in cpu backend * opencl-backend * aocl-backend * move ppac codegen to ppac folder; fix argument name with merlinc analyser * discard the new for-loop type; include ppac in hlib * discard some previous changes * Use int64_t as return type of GeMM on ppac * [add] codegenc kernedef + stream init * [add] var_shape_map * [update] kerneldef struct shape * [update] use noderef and restore * [fix] return op * [add] hcl device & kernelstmt printer * [fix] def workaround * [update] stream example * [add] stream expr & stmt ir * [fix] kernel arg location for stream * opt1 * opencl-general * new-version * no bug * a * test+unroll+pipeline * pragma * new * type has fixed * new_test * test_reorder_split_fuse * target * order * simplified by rui * analysis * bug fixed * [delete] all of the code about opencl * [ADD] new opencl back-end including xilinx & intel * fixed __local * fixed data_type for xilinx opencl * add makefile for SDAccel_runtime * add the runtime for sdaccel * create the sdaccel host * fixed the indent problem partly * test the zhang-05 server * add indent to the host.cpp * automatically generate makefile * delete common folder from opencl * add shmat to sdaccel runtime * fixed bug for sdaccel runtime seg fault * fixed the bug of host.cpp multiple * fixed host.cpp multiple bug * fixed endif for makefile * modify sdaccel_sw_emu -> sdaccel_csim * fix the __local and __global for intel opencl back-end * Fix the arbitrary integer precision for aocl * [add] ir visitor & functor for codegen * [add] aocl stream codegen * [add] aocl stream support * [fix] aocl type conversion * [fix] aocl channel syntax * [add] sch.stream_to * [fix] add stream annotation * [add] host device codegen * [add] stream ir mutator * [Add] Interface prag,a for SDx sim * [add] host xcel codegen * [update] build interface * [update] new build interface * [fix] temp update * [update] stream example * [add] rocc-ppac sim * [rm] submodule * [update] rocc ppac hlib * [add] unified sim & kernel updater * re-organize build common util * [update] stream in codegen c * [update] codegen construct for streaming * [update] code post-processing * [fix] test cases * [fix] python compatibility * [update] future * [fix] metaclass * [fix] test import issue * Revert "[API][Backend] Streaming and OpenCL Backends (#138)" (#139) This reverts commit 2c75344. * [API] Remove support for Python 2 (#143) * remove support for Python 2 * switch from Python 3.7 to 3.6 * [Backend] Fix LLVM CodeGen for intrinsics (#147) * Fix llvm codegen for instrinsic log, pow, and sqrt * fix test case * [Backend] Fix LLVM power intrinsic with large integer (#151) * fix llvm power with large integer * fix test case * [API] Fix Wrong Index Calculation in API reuse_at (#156) * test cases * rename * systolic * self loopback * fix test * fork and join * fix host only * sobel * [API] Adding printing function to HeteroCL (#178) * initial attempt for hcl.print * enable better printing * finish a version fo hcl.print * add tests * [Backend] Fixed Incorrect Behavior When Casting Constants to Very Long Int (#179) * fixed incorrect behavior in Halide * add test * map reduce example * reshape check * [backend] Add LLVM 9.0 support (#182) * [API][Backend] Fix hcl.print with UInt supported (#184) * memory * clean up stream type * codegen update * hbm support * host codegen update * fix auto-merge issue * fix extern ip * fix hls ip * update * if * join api * comment Co-authored-by: Yi-Hsiang (Sean) Lai <[email protected]> Co-authored-by: HZ Chen <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Starting from 2020, Python 2 is no longer supported by the community. Thus, we also remove the tests for Python 2 for HeteroCL.