-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DLPack][runtime] Update DLPack to v0.7
- Update the `3rdparty/dlpack` git submodule from v0.5 to v0.7, so that the `DLDeviceType` enumeration has an explicitly-stated underlying storage type. This addresses a compiler warning generated by clang 15.0.3. - Remove `kDLHexagon` and `kDLWebGPU` from `TVMDeviceExtType`, because those enumerators are now provided by `DLDeviceType`. - Renumber the members of `TVMDeviceExtType` to reduce the chance of unnoticed collision with members of `DLDeviceType`.
- Loading branch information
Christian Convey
committed
Oct 24, 2022
1 parent
3131cdc
commit 90ed6f8
Showing
6 changed files
with
41 additions
and
18 deletions.
There are no files selected for viewing
Submodule dlpack
updated
30 files
+39 −0 | .github/workflows/deploy.yml | |
+49 −0 | .github/workflows/docs.yaml | |
+1 −1 | CMakeLists.txt | |
+6 −2 | Makefile | |
+22 −0 | NEWS.md | |
+4 −2 | README.md | |
+0 −2 | apps/from_numpy/Makefile | |
+0 −107 | apps/from_numpy/main.py | |
+0 −52 | apps/from_numpy/numpy_dlpack.c | |
+1 −0 | apps/numpy_dlpack/.gitignore | |
+23 −0 | apps/numpy_dlpack/README.md | |
+2 −0 | apps/numpy_dlpack/dlpack/__init__.py | |
+137 −0 | apps/numpy_dlpack/dlpack/dlpack.py | |
+98 −0 | apps/numpy_dlpack/dlpack/from_numpy.py | |
+79 −0 | apps/numpy_dlpack/dlpack/to_numpy.py | |
+36 −0 | apps/numpy_dlpack/test.py | |
+38 −0 | apps/numpy_dlpack/test_pure_numpy.py | |
+3 −0 | doc_requirements.txt | |
+21 −2 | docs/CMakeLists.txt | |
+3 −3 | docs/Doxyfile | |
+7 −3 | docs/Doxyfile.in | |
+20 −0 | docs/Makefile | |
+13 −0 | docs/README.md | |
+36 −0 | docs/make.bat | |
+ − | docs/source/_static/images/DLPack_diagram.png | |
+35 −0 | docs/source/c_api.rst | |
+82 −0 | docs/source/conf.py | |
+82 −0 | docs/source/index.rst | |
+156 −0 | docs/source/python_spec.rst | |
+49 −8 | include/dlpack/dlpack.h |
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
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
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
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
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